Module Expr Str ImportFrom alias Import alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Str FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Call AttributeLoad NameLoad attr Str Assign NameStore Str While CompareEq Call AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad Call NameLoad Str attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A OAuth 2.0 command for Django Google SQL Service backend. google.storage.speckle.python.api rdbms_googleapi N/A apiclient django.core.management base oauth2client client Command N/A N/A base NoArgsCommand N/A N/A Management command to fetch OAuth2 credentials for Google SQL Service. N/A requires_model_validation False N/A can_import_settings False N/A help Fetches OAuth2 credentials for accessing the Google SQL Service viathe Google API driver handle_noargs N/A N/A self N/A unused_options N/A N/A Perform an OAuth 2.0 oob flow.

    After the flow completes, instructions are provided to manually store the
    OAuth2 refresh_token in the project settings file.
     N/A flow N/A N/A rdbms_googleapi GetFlow N/A N/A N/A N/A self stdout write N/A 
Go to the following link in your browser:
%s

 N/A N/A flow step1_get_authorize_url oob N/A accepted n N/A N/A N/A N/A accepted lower n N/A N/A accepted N/A raw_input Have you authorized me? (y/n)  N/A code N/A N/A N/A raw_input What is the verification code?  strip N/A N/A N/A credential N/A N/A flow step2_exchange code N/A N/A N/A N/A client FlowExchangeError N/A N/A N/A N/A base CommandError The authentication has failed. N/A N/A N/A N/A self stdout write N/A 
Add your OAuth refresh token (%s) as an "OAUTH2_SECRET" parameter to your database OPTIONS.  For example:
 N/A credential refresh_token N/A N/A N/A N/A self stdout write N/A 
    DATABASES = {
        'default': {
            'ENGINE': 'google.storage.speckle.python.django.backend',
            'INSTANCE': 'examplecom:instance',
            'NAME': 'dbname',
            'OPTIONS': {
                'OAUTH2_SECRET': '%s',
            }
        }
    }
 N/A credential refresh_token N/A N/A