def __init__()

in tools/paconn-cli/paconn/settings/settings.py [0:0]


    def __init__(
            self,
            connector_id,
            environment,
            api_properties,
            api_definition,
            icon,
            script,
            powerapps_url,
            powerapps_api_version,
            flow_url=None,
            flow_api_version=None,
            client_id=None,
            tenant=None,
            authority_url=None,
            resource=None):

        # connector specific settings
        self.connector_id = connector_id
        self.environment = environment

        # Files
        self.api_properties = api_properties
        self.api_definition = api_definition
        self.icon = icon
        self.script = script

        # PowerApps RP settings
        self.powerapps_url = powerapps_url or 'https://api.powerapps.com'
        self.powerapps_api_version = powerapps_api_version or '2016-11-01'
        self.powerapps_base_path = 'providers/Microsoft.PowerApps'         # Constant

        # Flow RP Settings
        self.flow_url = flow_url or 'https://api.flow.microsoft.com'
        self.flow_api_version = flow_api_version or '2016-11-01'
        self.flow_base_path = 'providers/Microsoft.ProcessSimple'          # Constant

        self.client_id = client_id or '04b07795-8ddb-461a-bbee-02f9e1bf7b46'
        self.tenant = tenant or 'common'
        self.authority_url = authority_url or 'https://login.microsoftonline.com/'
        self.resource = resource or 'https://management.core.windows.net/'