Package: gooddata-scan-client
gooddata-scan-clientNo description provided (generated by Openapi Generatorhttps://github.com/openapitools/openapi-generator)This Python package is automatically generated by theOpenAPI Generatorproject:API version: v0Package version: 1.3.0Build package: org.openapitools.codegen.languages.PythonClientCodegenRequirements.Python >=3.6Installation & Usagepip installIf the python package is hosted on a repository, you can install directly using:pipinstallgit+https://github.com/GIT_USER_ID/GIT_REPO_ID.git(you may need to runpipwith root permission:sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)Then import the package:importgooddata_scan_clientSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importgooddata_scan_clientGetting StartedPlease follow theinstallation procedureand then run the following:importtimeimportgooddata_scan_clientfrompprintimportpprintfromgooddata_scan_client.apiimportscanning_apifromgooddata_scan_client.model.data_source_schemataimportDataSourceSchematafromgooddata_scan_client.model.scan_requestimportScanRequestfromgooddata_scan_client.model.scan_result_pdmimportScanResultPdm# Defining the host is optional and defaults to http://localhost# See configuration.py for a list of all supported configuration parameters.configuration=gooddata_scan_client.Configuration(host="http://localhost")# Enter a context with an instance of the API clientwithgooddata_scan_client.ApiClient(configuration)asapi_client:# Create an instance of the API classapi_instance=scanning_api.ScanningApi(api_client)data_source_id="myPostgres"# str | Data source idtry:# Get a list of schema names of a databaseapi_response=api_instance.get_data_source_schemata(data_source_id)pprint(api_response)exceptgooddata_scan_client.ApiExceptionase:print("Exception when calling ScanningApi->get_data_source_schemata:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttp://localhostClassMethodHTTP requestDescriptionScanningApiget_data_source_schemataGET/api/v1/actions/dataSources/{dataSourceId}/scanSchemataGet a list of schema names of a databaseScanningApiscan_data_sourcePOST/api/v1/actions/dataSources/{dataSourceId}/scanScan a database to get a physical data model (PDM)TestConnectionApitest_data_sourcePOST/api/v1/actions/dataSources/{dataSourceId}/testTest data source connection by data source idTestConnectionApitest_data_source_definitionPOST/api/v1/actions/dataSource/testTest connection by data source definitionActionsApiget_data_source_schemataGET/api/v1/actions/dataSources/{dataSourceId}/scanSchemataGet a list of schema names of a databaseActionsApiscan_data_sourcePOST/api/v1/actions/dataSources/{dataSourceId}/scanScan a database to get a physical data model (PDM)ActionsApiscan_sqlPOST/api/v1/actions/dataSources/{dataSourceId}/scanSqlCollect metadata about SQL queryActionsApitest_data_sourcePOST/api/v1/actions/dataSources/{dataSourceId}/testTest data source connection by data source idActionsApitest_data_source_definitionPOST/api/v1/actions/dataSource/testTest connection by data source definitionDocumentation For ModelsColumnWarningDataSourceParameterDataSourceSchemataDeclarativeColumnDeclarativeTableDeclarativeTablesScanRequestScanResultPdmScanSqlRequestScanSqlResponseSqlColumnTableWarningTestDefinitionRequestTestQueryDurationTestRequestTestResponseDocumentation For AuthorizationAll endpoints do not require authorization.Authorsupport@gooddata.comNotes for Large OpenAPI documentsIf the OpenAPI document is large, imports in gooddata_scan_client.apis and gooddata_scan_client.models may fail with a
RecursionError indicating the maximum recursion limit has been exceeded. In that case, there are a couple of solutions:Solution 1:
Use specific imports for apis and models like:from gooddata_scan_client.api.default_api import DefaultApifrom gooddata_scan_client.model.pet import PetSolution 2:
Before importing the package, adjust the maximum recursion limit as shown below:import sys
sys.setrecursionlimit(1500)
import gooddata_scan_client
from gooddata_scan_client.apis import *
from gooddata_scan_client.models import *