unitycatalog-client 0.2.1__tar.gz → 0.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- unitycatalog_client-0.3.0/.github/workflows/python.yml +31 -0
- unitycatalog_client-0.3.0/.gitignore +66 -0
- unitycatalog_client-0.3.0/.gitlab-ci.yml +31 -0
- unitycatalog_client-0.3.0/.openapi-generator/FILES +102 -0
- unitycatalog_client-0.3.0/.openapi-generator/VERSION +1 -0
- unitycatalog_client-0.3.0/.openapi-generator-ignore +15 -0
- unitycatalog_client-0.3.0/.travis.yml +17 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/PKG-INFO +4 -4
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/README.md +2 -2
- unitycatalog_client-0.3.0/classpath +1 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/pyproject.toml +2 -1
- unitycatalog_client-0.3.0/requirements.txt +6 -0
- unitycatalog_client-0.3.0/setup.cfg +2 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/setup.py +2 -1
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/__init__.py +16 -1
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/api/__init__.py +3 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/api/catalogs_api.py +45 -30
- unitycatalog_client-0.3.0/src/unitycatalog/client/api/credentials_api.py +1437 -0
- unitycatalog_client-0.3.0/src/unitycatalog/client/api/external_locations_api.py +1412 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/api/functions_api.py +36 -24
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/api/grants_api.py +18 -12
- unitycatalog_client-0.3.0/src/unitycatalog/client/api/metastores_api.py +281 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/api/model_versions_api.py +54 -36
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/api/registered_models_api.py +45 -30
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/api/schemas_api.py +45 -30
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/api/tables_api.py +36 -24
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/api/temporary_credentials_api.py +36 -24
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/api/volumes_api.py +45 -30
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/api_client.py +38 -11
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/configuration.py +17 -3
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/__init__.py +12 -0
- unitycatalog_client-0.3.0/src/unitycatalog/client/models/aws_iam_role_request.py +87 -0
- unitycatalog_client-0.3.0/src/unitycatalog/client/models/aws_iam_role_response.py +91 -0
- unitycatalog_client-0.3.0/src/unitycatalog/client/models/create_credential_request.py +98 -0
- unitycatalog_client-0.3.0/src/unitycatalog/client/models/create_external_location.py +93 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/create_function.py +1 -1
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/create_table.py +3 -3
- unitycatalog_client-0.3.0/src/unitycatalog/client/models/credential_info.py +112 -0
- unitycatalog_client-0.3.0/src/unitycatalog/client/models/credential_purpose.py +36 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/dependency_list.py +3 -3
- unitycatalog_client-0.3.0/src/unitycatalog/client/models/external_location_info.py +105 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/function_parameter_infos.py +3 -3
- unitycatalog_client-0.3.0/src/unitycatalog/client/models/get_metastore_summary_response.py +87 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/list_catalogs_response.py +3 -3
- unitycatalog_client-0.3.0/src/unitycatalog/client/models/list_credentials_response.py +97 -0
- unitycatalog_client-0.3.0/src/unitycatalog/client/models/list_external_locations_response.py +97 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/list_functions_response.py +3 -3
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/list_model_versions_response.py +3 -3
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/list_registered_models_response.py +3 -3
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/list_schemas_response.py +3 -3
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/list_tables_response.py +3 -3
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/list_volumes_response_content.py +3 -3
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/permissions_list.py +3 -3
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/table_info.py +3 -3
- unitycatalog_client-0.3.0/src/unitycatalog/client/models/update_credential_request.py +97 -0
- unitycatalog_client-0.3.0/src/unitycatalog/client/models/update_external_location.py +95 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/update_permissions.py +3 -3
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/rest.py +9 -9
- unitycatalog_client-0.3.0/streams/_global/_global/_global/streams/out +10 -0
- unitycatalog_client-0.3.0/streams/_global/coursierArtifacts/_global/streams/out +0 -0
- unitycatalog_client-0.3.0/streams/_global/coursierResolutions/_global/streams/out +0 -0
- unitycatalog_client-0.3.0/streams/_global/openApiGenerate/_global/streams/out +1 -0
- unitycatalog_client-0.3.0/streams/_global/prepareGeneration/_global/streams/out +2 -0
- unitycatalog_client-0.3.0/streams/_global/projectDescriptors/_global/streams/out +0 -0
- unitycatalog_client-0.3.0/streams/_global/scalaCompilerBridgeScope/_global/streams/out +0 -0
- unitycatalog_client-0.3.0/streams/_global/update/_global/streams/out +0 -0
- unitycatalog_client-0.3.0/streams/compile/_global/_global/compileOutputs/previous +1 -0
- unitycatalog_client-0.3.0/streams/compile/_global/_global/discoveredMainClasses/data +1 -0
- unitycatalog_client-0.3.0/streams/compile/bspReporter/_global/streams/out +0 -0
- unitycatalog_client-0.3.0/streams/compile/compile/_global/streams/out +0 -0
- unitycatalog_client-0.3.0/streams/compile/compileIncremental/_global/streams/export +0 -0
- unitycatalog_client-0.3.0/streams/compile/compileIncremental/_global/streams/out +6 -0
- unitycatalog_client-0.3.0/streams/compile/copyResources/_global/streams/out +2 -0
- unitycatalog_client-0.3.0/streams/compile/dependencyClasspath/_global/streams/export +1 -0
- unitycatalog_client-0.3.0/streams/compile/exportedProducts/_global/streams/export +1 -0
- unitycatalog_client-0.3.0/streams/compile/externalDependencyClasspath/_global/streams/export +1 -0
- unitycatalog_client-0.3.0/streams/compile/incOptions/_global/streams/out +5 -0
- unitycatalog_client-0.3.0/streams/compile/internalDependencyClasspath/_global/streams/export +1 -0
- unitycatalog_client-0.3.0/streams/compile/internalDependencyClasspath/_global/streams/out +0 -0
- unitycatalog_client-0.3.0/streams/compile/mainClass/_global/streams/out +0 -0
- unitycatalog_client-0.3.0/streams/compile/managedClasspath/_global/streams/export +1 -0
- unitycatalog_client-0.3.0/streams/compile/packageBin/_global/streams/inputs +1 -0
- unitycatalog_client-0.3.0/streams/compile/packageBin/_global/streams/out +4 -0
- unitycatalog_client-0.3.0/streams/compile/packageBin/_global/streams/output +1 -0
- unitycatalog_client-0.3.0/streams/compile/scalacOptions/_global/streams/out +0 -0
- unitycatalog_client-0.3.0/streams/compile/unmanagedClasspath/_global/streams/export +1 -0
- unitycatalog_client-0.3.0/streams/compile/unmanagedClasspath/_global/streams/out +0 -0
- unitycatalog_client-0.3.0/streams/compile/unmanagedJars/_global/streams/export +1 -0
- unitycatalog_client-0.3.0/streams/runtime/dependencyClasspath/_global/streams/export +1 -0
- unitycatalog_client-0.3.0/streams/runtime/externalDependencyClasspath/_global/streams/export +1 -0
- unitycatalog_client-0.3.0/streams/runtime/internalDependencyClasspath/_global/streams/export +1 -0
- unitycatalog_client-0.3.0/streams/runtime/internalDependencyClasspath/_global/streams/out +0 -0
- unitycatalog_client-0.3.0/streams/runtime/managedClasspath/_global/streams/export +1 -0
- unitycatalog_client-0.3.0/streams/runtime/unmanagedClasspath/_global/streams/export +1 -0
- unitycatalog_client-0.3.0/streams/runtime/unmanagedClasspath/_global/streams/out +0 -0
- unitycatalog_client-0.3.0/streams/runtime/unmanagedJars/_global/streams/export +1 -0
- unitycatalog_client-0.3.0/sync/copy-resource +1 -0
- unitycatalog_client-0.3.0/test-requirements.txt +6 -0
- unitycatalog_client-0.3.0/tox.ini +9 -0
- unitycatalog_client-0.3.0/unitycatalog-python-client-0.3.1-SNAPSHOT.jar +0 -0
- unitycatalog_client-0.2.1/.gitignore +0 -29
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/api_response.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/exceptions.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/aws_credentials.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/azure_user_delegation_sas.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/catalog_info.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/column_info.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/column_type_name.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/create_catalog.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/create_function_request.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/create_model_version.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/create_registered_model.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/create_schema.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/create_volume_request_content.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/data_source_format.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/dependency.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/finalize_model_version.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/function_dependency.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/function_info.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/function_parameter_info.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/function_parameter_mode.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/function_parameter_type.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/gcp_oauth_token.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/generate_temporary_model_version_credential.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/generate_temporary_path_credential.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/generate_temporary_table_credential.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/generate_temporary_volume_credential.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/model_version_info.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/model_version_operation.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/model_version_status.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/path_operation.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/permissions_change.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/principal_type.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/privilege.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/privilege_assignment.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/registered_model_info.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/schema_info.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/securable_type.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/table_dependency.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/table_operation.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/table_type.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/temporary_credentials.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/update_catalog.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/update_model_version.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/update_registered_model.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/update_schema.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/update_volume_request_content.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/volume_info.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/volume_operation.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/models/volume_type.py +0 -0
- {unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/py.typed +0 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# NOTE: This file is auto generated by OpenAPI Generator.
|
|
2
|
+
# URL: https://openapi-generator.tech
|
|
3
|
+
#
|
|
4
|
+
# ref: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
|
|
5
|
+
|
|
6
|
+
name: unitycatalog.client Python package
|
|
7
|
+
|
|
8
|
+
on: [push, pull_request]
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
build:
|
|
12
|
+
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
strategy:
|
|
15
|
+
matrix:
|
|
16
|
+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
|
|
17
|
+
|
|
18
|
+
steps:
|
|
19
|
+
- uses: actions/checkout@v4
|
|
20
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
21
|
+
uses: actions/setup-python@v4
|
|
22
|
+
with:
|
|
23
|
+
python-version: ${{ matrix.python-version }}
|
|
24
|
+
- name: Install dependencies
|
|
25
|
+
run: |
|
|
26
|
+
python -m pip install --upgrade pip
|
|
27
|
+
pip install -r requirements.txt
|
|
28
|
+
pip install -r test-requirements.txt
|
|
29
|
+
- name: Test with pytest
|
|
30
|
+
run: |
|
|
31
|
+
pytest --cov={{packageName}}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
env/
|
|
12
|
+
build/
|
|
13
|
+
develop-eggs/
|
|
14
|
+
dist/
|
|
15
|
+
downloads/
|
|
16
|
+
eggs/
|
|
17
|
+
.eggs/
|
|
18
|
+
lib/
|
|
19
|
+
lib64/
|
|
20
|
+
parts/
|
|
21
|
+
sdist/
|
|
22
|
+
var/
|
|
23
|
+
*.egg-info/
|
|
24
|
+
.installed.cfg
|
|
25
|
+
*.egg
|
|
26
|
+
|
|
27
|
+
# PyInstaller
|
|
28
|
+
# Usually these files are written by a python script from a template
|
|
29
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
30
|
+
*.manifest
|
|
31
|
+
*.spec
|
|
32
|
+
|
|
33
|
+
# Installer logs
|
|
34
|
+
pip-log.txt
|
|
35
|
+
pip-delete-this-directory.txt
|
|
36
|
+
|
|
37
|
+
# Unit test / coverage reports
|
|
38
|
+
htmlcov/
|
|
39
|
+
.tox/
|
|
40
|
+
.coverage
|
|
41
|
+
.coverage.*
|
|
42
|
+
.cache
|
|
43
|
+
nosetests.xml
|
|
44
|
+
coverage.xml
|
|
45
|
+
*,cover
|
|
46
|
+
.hypothesis/
|
|
47
|
+
venv/
|
|
48
|
+
.venv/
|
|
49
|
+
.python-version
|
|
50
|
+
.pytest_cache
|
|
51
|
+
|
|
52
|
+
# Translations
|
|
53
|
+
*.mo
|
|
54
|
+
*.pot
|
|
55
|
+
|
|
56
|
+
# Django stuff:
|
|
57
|
+
*.log
|
|
58
|
+
|
|
59
|
+
# Sphinx documentation
|
|
60
|
+
docs/_build/
|
|
61
|
+
|
|
62
|
+
# PyBuilder
|
|
63
|
+
target/
|
|
64
|
+
|
|
65
|
+
#Ipython Notebook
|
|
66
|
+
.ipynb_checkpoints
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# NOTE: This file is auto generated by OpenAPI Generator.
|
|
2
|
+
# URL: https://openapi-generator.tech
|
|
3
|
+
#
|
|
4
|
+
# ref: https://docs.gitlab.com/ee/ci/README.html
|
|
5
|
+
# ref: https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Python.gitlab-ci.yml
|
|
6
|
+
|
|
7
|
+
stages:
|
|
8
|
+
- test
|
|
9
|
+
|
|
10
|
+
.pytest:
|
|
11
|
+
stage: test
|
|
12
|
+
script:
|
|
13
|
+
- pip install -r requirements.txt
|
|
14
|
+
- pip install -r test-requirements.txt
|
|
15
|
+
- pytest --cov=unitycatalog.client
|
|
16
|
+
|
|
17
|
+
pytest-3.8:
|
|
18
|
+
extends: .pytest
|
|
19
|
+
image: python:3.8-alpine
|
|
20
|
+
pytest-3.9:
|
|
21
|
+
extends: .pytest
|
|
22
|
+
image: python:3.9-alpine
|
|
23
|
+
pytest-3.10:
|
|
24
|
+
extends: .pytest
|
|
25
|
+
image: python:3.10-alpine
|
|
26
|
+
pytest-3.11:
|
|
27
|
+
extends: .pytest
|
|
28
|
+
image: python:3.11-alpine
|
|
29
|
+
pytest-3.12:
|
|
30
|
+
extends: .pytest
|
|
31
|
+
image: python:3.12-alpine
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
.github/workflows/python.yml
|
|
2
|
+
.gitignore
|
|
3
|
+
.gitlab-ci.yml
|
|
4
|
+
.travis.yml
|
|
5
|
+
requirements.txt
|
|
6
|
+
setup.cfg
|
|
7
|
+
test-requirements.txt
|
|
8
|
+
tox.ini
|
|
9
|
+
unitycatalog/client/__init__.py
|
|
10
|
+
unitycatalog/client/api/__init__.py
|
|
11
|
+
unitycatalog/client/api/catalogs_api.py
|
|
12
|
+
unitycatalog/client/api/credentials_api.py
|
|
13
|
+
unitycatalog/client/api/external_locations_api.py
|
|
14
|
+
unitycatalog/client/api/functions_api.py
|
|
15
|
+
unitycatalog/client/api/grants_api.py
|
|
16
|
+
unitycatalog/client/api/metastores_api.py
|
|
17
|
+
unitycatalog/client/api/model_versions_api.py
|
|
18
|
+
unitycatalog/client/api/registered_models_api.py
|
|
19
|
+
unitycatalog/client/api/schemas_api.py
|
|
20
|
+
unitycatalog/client/api/tables_api.py
|
|
21
|
+
unitycatalog/client/api/temporary_credentials_api.py
|
|
22
|
+
unitycatalog/client/api/volumes_api.py
|
|
23
|
+
unitycatalog/client/api_client.py
|
|
24
|
+
unitycatalog/client/api_response.py
|
|
25
|
+
unitycatalog/client/configuration.py
|
|
26
|
+
unitycatalog/client/exceptions.py
|
|
27
|
+
unitycatalog/client/models/__init__.py
|
|
28
|
+
unitycatalog/client/models/aws_credentials.py
|
|
29
|
+
unitycatalog/client/models/aws_iam_role_request.py
|
|
30
|
+
unitycatalog/client/models/aws_iam_role_response.py
|
|
31
|
+
unitycatalog/client/models/azure_user_delegation_sas.py
|
|
32
|
+
unitycatalog/client/models/catalog_info.py
|
|
33
|
+
unitycatalog/client/models/column_info.py
|
|
34
|
+
unitycatalog/client/models/column_type_name.py
|
|
35
|
+
unitycatalog/client/models/create_catalog.py
|
|
36
|
+
unitycatalog/client/models/create_credential_request.py
|
|
37
|
+
unitycatalog/client/models/create_external_location.py
|
|
38
|
+
unitycatalog/client/models/create_function.py
|
|
39
|
+
unitycatalog/client/models/create_function_request.py
|
|
40
|
+
unitycatalog/client/models/create_model_version.py
|
|
41
|
+
unitycatalog/client/models/create_registered_model.py
|
|
42
|
+
unitycatalog/client/models/create_schema.py
|
|
43
|
+
unitycatalog/client/models/create_table.py
|
|
44
|
+
unitycatalog/client/models/create_volume_request_content.py
|
|
45
|
+
unitycatalog/client/models/credential_info.py
|
|
46
|
+
unitycatalog/client/models/credential_purpose.py
|
|
47
|
+
unitycatalog/client/models/data_source_format.py
|
|
48
|
+
unitycatalog/client/models/dependency.py
|
|
49
|
+
unitycatalog/client/models/dependency_list.py
|
|
50
|
+
unitycatalog/client/models/external_location_info.py
|
|
51
|
+
unitycatalog/client/models/finalize_model_version.py
|
|
52
|
+
unitycatalog/client/models/function_dependency.py
|
|
53
|
+
unitycatalog/client/models/function_info.py
|
|
54
|
+
unitycatalog/client/models/function_parameter_info.py
|
|
55
|
+
unitycatalog/client/models/function_parameter_infos.py
|
|
56
|
+
unitycatalog/client/models/function_parameter_mode.py
|
|
57
|
+
unitycatalog/client/models/function_parameter_type.py
|
|
58
|
+
unitycatalog/client/models/gcp_oauth_token.py
|
|
59
|
+
unitycatalog/client/models/generate_temporary_model_version_credential.py
|
|
60
|
+
unitycatalog/client/models/generate_temporary_path_credential.py
|
|
61
|
+
unitycatalog/client/models/generate_temporary_table_credential.py
|
|
62
|
+
unitycatalog/client/models/generate_temporary_volume_credential.py
|
|
63
|
+
unitycatalog/client/models/get_metastore_summary_response.py
|
|
64
|
+
unitycatalog/client/models/list_catalogs_response.py
|
|
65
|
+
unitycatalog/client/models/list_credentials_response.py
|
|
66
|
+
unitycatalog/client/models/list_external_locations_response.py
|
|
67
|
+
unitycatalog/client/models/list_functions_response.py
|
|
68
|
+
unitycatalog/client/models/list_model_versions_response.py
|
|
69
|
+
unitycatalog/client/models/list_registered_models_response.py
|
|
70
|
+
unitycatalog/client/models/list_schemas_response.py
|
|
71
|
+
unitycatalog/client/models/list_tables_response.py
|
|
72
|
+
unitycatalog/client/models/list_volumes_response_content.py
|
|
73
|
+
unitycatalog/client/models/model_version_info.py
|
|
74
|
+
unitycatalog/client/models/model_version_operation.py
|
|
75
|
+
unitycatalog/client/models/model_version_status.py
|
|
76
|
+
unitycatalog/client/models/path_operation.py
|
|
77
|
+
unitycatalog/client/models/permissions_change.py
|
|
78
|
+
unitycatalog/client/models/permissions_list.py
|
|
79
|
+
unitycatalog/client/models/principal_type.py
|
|
80
|
+
unitycatalog/client/models/privilege.py
|
|
81
|
+
unitycatalog/client/models/privilege_assignment.py
|
|
82
|
+
unitycatalog/client/models/registered_model_info.py
|
|
83
|
+
unitycatalog/client/models/schema_info.py
|
|
84
|
+
unitycatalog/client/models/securable_type.py
|
|
85
|
+
unitycatalog/client/models/table_dependency.py
|
|
86
|
+
unitycatalog/client/models/table_info.py
|
|
87
|
+
unitycatalog/client/models/table_operation.py
|
|
88
|
+
unitycatalog/client/models/table_type.py
|
|
89
|
+
unitycatalog/client/models/temporary_credentials.py
|
|
90
|
+
unitycatalog/client/models/update_catalog.py
|
|
91
|
+
unitycatalog/client/models/update_credential_request.py
|
|
92
|
+
unitycatalog/client/models/update_external_location.py
|
|
93
|
+
unitycatalog/client/models/update_model_version.py
|
|
94
|
+
unitycatalog/client/models/update_permissions.py
|
|
95
|
+
unitycatalog/client/models/update_registered_model.py
|
|
96
|
+
unitycatalog/client/models/update_schema.py
|
|
97
|
+
unitycatalog/client/models/update_volume_request_content.py
|
|
98
|
+
unitycatalog/client/models/volume_info.py
|
|
99
|
+
unitycatalog/client/models/volume_operation.py
|
|
100
|
+
unitycatalog/client/models/volume_type.py
|
|
101
|
+
unitycatalog/client/py.typed
|
|
102
|
+
unitycatalog/client/rest.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7.9.0
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# OpenApi Generator Ignore configuration for the Unity Catalog Python Client SDK
|
|
2
|
+
|
|
3
|
+
## Do not generate files we will be manually inserting
|
|
4
|
+
|
|
5
|
+
README.md
|
|
6
|
+
pyproject.toml
|
|
7
|
+
setup.py
|
|
8
|
+
|
|
9
|
+
## Do not generate the root __init__.py file for shared namespace packages
|
|
10
|
+
|
|
11
|
+
unitycatalog/__init__.py
|
|
12
|
+
|
|
13
|
+
## Do not generate files that have no purpose
|
|
14
|
+
|
|
15
|
+
git_push.sh
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# ref: https://docs.travis-ci.com/user/languages/python
|
|
2
|
+
language: python
|
|
3
|
+
python:
|
|
4
|
+
- "3.8"
|
|
5
|
+
- "3.9"
|
|
6
|
+
- "3.10"
|
|
7
|
+
- "3.11"
|
|
8
|
+
- "3.12"
|
|
9
|
+
# uncomment the following if needed
|
|
10
|
+
#- "3.12-dev" # 3.12 development branch
|
|
11
|
+
#- "nightly" # nightly build
|
|
12
|
+
# command to install dependencies
|
|
13
|
+
install:
|
|
14
|
+
- "pip install -r requirements.txt"
|
|
15
|
+
- "pip install -r test-requirements.txt"
|
|
16
|
+
# command to run tests
|
|
17
|
+
script: pytest --cov=unitycatalog.client
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: unitycatalog-client
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: Official Python SDK for Unity Catalog
|
|
5
5
|
Project-URL: homepage, https://www.unitycatalog.io/
|
|
6
6
|
Project-URL: issues, https://github.com/unitycatalog/unitycatalog/issues
|
|
@@ -159,7 +159,7 @@ async def create_catalog(catalog_name, catalog_api, comment=None):
|
|
|
159
159
|
comment=comment or ""
|
|
160
160
|
)
|
|
161
161
|
return await catalog_api.create_catalog(create_catalog=new_catalog)
|
|
162
|
-
|
|
162
|
+
|
|
163
163
|
await create_catalog("MyNewCatalog", catalog_api=catalogs_api, comment="This is a new catalog.")
|
|
164
164
|
```
|
|
165
165
|
|
|
@@ -196,4 +196,4 @@ Have requests for the Unity Catalog project? Interested in getting involved in t
|
|
|
196
196
|
|
|
197
197
|
See the [repository on GitHub](https://github.com/unitycatalog/unitycatalog)
|
|
198
198
|
|
|
199
|
-
Read [the documentation](https://www.unitycatalog.io/) for more guidance and examples!
|
|
199
|
+
Read [the documentation](https://www.unitycatalog.io/) for more guidance and examples!
|
|
@@ -120,7 +120,7 @@ async def create_catalog(catalog_name, catalog_api, comment=None):
|
|
|
120
120
|
comment=comment or ""
|
|
121
121
|
)
|
|
122
122
|
return await catalog_api.create_catalog(create_catalog=new_catalog)
|
|
123
|
-
|
|
123
|
+
|
|
124
124
|
await create_catalog("MyNewCatalog", catalog_api=catalogs_api, comment="This is a new catalog.")
|
|
125
125
|
```
|
|
126
126
|
|
|
@@ -157,4 +157,4 @@ Have requests for the Unity Catalog project? Interested in getting involved in t
|
|
|
157
157
|
|
|
158
158
|
See the [repository on GitHub](https://github.com/unitycatalog/unitycatalog)
|
|
159
159
|
|
|
160
|
-
Read [the documentation](https://www.unitycatalog.io/) for more guidance and examples!
|
|
160
|
+
Read [the documentation](https://www.unitycatalog.io/) for more guidance and examples!
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/Users/johan.lasperas/unitycatalog/clients/python/target/classes:/Users/johan.lasperas/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/slf4j/slf4j-api/2.0.16/slf4j-api-2.0.16.jar:/Users/johan.lasperas/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/apache/logging/log4j/log4j-slf4j2-impl/2.24.3/log4j-slf4j2-impl-2.24.3.jar:/Users/johan.lasperas/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/apache/logging/log4j/log4j-api/2.24.3/log4j-api-2.24.3.jar:/Users/johan.lasperas/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/apache/logging/log4j/log4j-core/2.24.3/log4j-core-2.24.3.jar:/Users/johan.lasperas/unitycatalog/clients/python/target/unitycatalog-python-client-0.3.1-SNAPSHOT.jar
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "unitycatalog-client"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.3.0"
|
|
4
4
|
description = "Official Python SDK for Unity Catalog"
|
|
5
5
|
authors = [
|
|
6
6
|
{ name="Unity Catalog Developers", email="dev-feedback@unitycatalog.com" }
|
|
@@ -95,3 +95,4 @@ strict_concatenate = true
|
|
|
95
95
|
check_untyped_defs = true
|
|
96
96
|
disallow_subclassing_any = true
|
|
97
97
|
disallow_untyped_decorators = true
|
|
98
|
+
disallow_any_generics = true
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
4
|
Unity Catalog API
|
|
5
|
+
|
|
5
6
|
Official Python SDK for Unity Catalog
|
|
6
7
|
"""
|
|
7
8
|
|
|
@@ -14,7 +15,7 @@ long_description = (this_directory / "README.md").read_text()
|
|
|
14
15
|
|
|
15
16
|
setup(
|
|
16
17
|
name="unitycatalog-client",
|
|
17
|
-
version="0.
|
|
18
|
+
version="0.3.0",
|
|
18
19
|
description="Official Python SDK for Unity Catalog",
|
|
19
20
|
long_description=long_description,
|
|
20
21
|
long_description_content_type="text/markdown",
|
|
@@ -14,12 +14,15 @@
|
|
|
14
14
|
""" # noqa: E501
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
__version__ = "0.
|
|
17
|
+
__version__ = "0.3.0"
|
|
18
18
|
|
|
19
19
|
# import apis into sdk package
|
|
20
20
|
from unitycatalog.client.api.catalogs_api import CatalogsApi
|
|
21
|
+
from unitycatalog.client.api.credentials_api import CredentialsApi
|
|
22
|
+
from unitycatalog.client.api.external_locations_api import ExternalLocationsApi
|
|
21
23
|
from unitycatalog.client.api.functions_api import FunctionsApi
|
|
22
24
|
from unitycatalog.client.api.grants_api import GrantsApi
|
|
25
|
+
from unitycatalog.client.api.metastores_api import MetastoresApi
|
|
23
26
|
from unitycatalog.client.api.model_versions_api import ModelVersionsApi
|
|
24
27
|
from unitycatalog.client.api.registered_models_api import RegisteredModelsApi
|
|
25
28
|
from unitycatalog.client.api.schemas_api import SchemasApi
|
|
@@ -40,11 +43,15 @@ from unitycatalog.client.exceptions import ApiException
|
|
|
40
43
|
|
|
41
44
|
# import models into sdk package
|
|
42
45
|
from unitycatalog.client.models.aws_credentials import AwsCredentials
|
|
46
|
+
from unitycatalog.client.models.aws_iam_role_request import AwsIamRoleRequest
|
|
47
|
+
from unitycatalog.client.models.aws_iam_role_response import AwsIamRoleResponse
|
|
43
48
|
from unitycatalog.client.models.azure_user_delegation_sas import AzureUserDelegationSAS
|
|
44
49
|
from unitycatalog.client.models.catalog_info import CatalogInfo
|
|
45
50
|
from unitycatalog.client.models.column_info import ColumnInfo
|
|
46
51
|
from unitycatalog.client.models.column_type_name import ColumnTypeName
|
|
47
52
|
from unitycatalog.client.models.create_catalog import CreateCatalog
|
|
53
|
+
from unitycatalog.client.models.create_credential_request import CreateCredentialRequest
|
|
54
|
+
from unitycatalog.client.models.create_external_location import CreateExternalLocation
|
|
48
55
|
from unitycatalog.client.models.create_function import CreateFunction
|
|
49
56
|
from unitycatalog.client.models.create_function_request import CreateFunctionRequest
|
|
50
57
|
from unitycatalog.client.models.create_model_version import CreateModelVersion
|
|
@@ -52,9 +59,12 @@ from unitycatalog.client.models.create_registered_model import CreateRegisteredM
|
|
|
52
59
|
from unitycatalog.client.models.create_schema import CreateSchema
|
|
53
60
|
from unitycatalog.client.models.create_table import CreateTable
|
|
54
61
|
from unitycatalog.client.models.create_volume_request_content import CreateVolumeRequestContent
|
|
62
|
+
from unitycatalog.client.models.credential_info import CredentialInfo
|
|
63
|
+
from unitycatalog.client.models.credential_purpose import CredentialPurpose
|
|
55
64
|
from unitycatalog.client.models.data_source_format import DataSourceFormat
|
|
56
65
|
from unitycatalog.client.models.dependency import Dependency
|
|
57
66
|
from unitycatalog.client.models.dependency_list import DependencyList
|
|
67
|
+
from unitycatalog.client.models.external_location_info import ExternalLocationInfo
|
|
58
68
|
from unitycatalog.client.models.finalize_model_version import FinalizeModelVersion
|
|
59
69
|
from unitycatalog.client.models.function_dependency import FunctionDependency
|
|
60
70
|
from unitycatalog.client.models.function_info import FunctionInfo
|
|
@@ -67,7 +77,10 @@ from unitycatalog.client.models.generate_temporary_model_version_credential impo
|
|
|
67
77
|
from unitycatalog.client.models.generate_temporary_path_credential import GenerateTemporaryPathCredential
|
|
68
78
|
from unitycatalog.client.models.generate_temporary_table_credential import GenerateTemporaryTableCredential
|
|
69
79
|
from unitycatalog.client.models.generate_temporary_volume_credential import GenerateTemporaryVolumeCredential
|
|
80
|
+
from unitycatalog.client.models.get_metastore_summary_response import GetMetastoreSummaryResponse
|
|
70
81
|
from unitycatalog.client.models.list_catalogs_response import ListCatalogsResponse
|
|
82
|
+
from unitycatalog.client.models.list_credentials_response import ListCredentialsResponse
|
|
83
|
+
from unitycatalog.client.models.list_external_locations_response import ListExternalLocationsResponse
|
|
71
84
|
from unitycatalog.client.models.list_functions_response import ListFunctionsResponse
|
|
72
85
|
from unitycatalog.client.models.list_model_versions_response import ListModelVersionsResponse
|
|
73
86
|
from unitycatalog.client.models.list_registered_models_response import ListRegisteredModelsResponse
|
|
@@ -92,6 +105,8 @@ from unitycatalog.client.models.table_operation import TableOperation
|
|
|
92
105
|
from unitycatalog.client.models.table_type import TableType
|
|
93
106
|
from unitycatalog.client.models.temporary_credentials import TemporaryCredentials
|
|
94
107
|
from unitycatalog.client.models.update_catalog import UpdateCatalog
|
|
108
|
+
from unitycatalog.client.models.update_credential_request import UpdateCredentialRequest
|
|
109
|
+
from unitycatalog.client.models.update_external_location import UpdateExternalLocation
|
|
95
110
|
from unitycatalog.client.models.update_model_version import UpdateModelVersion
|
|
96
111
|
from unitycatalog.client.models.update_permissions import UpdatePermissions
|
|
97
112
|
from unitycatalog.client.models.update_registered_model import UpdateRegisteredModel
|
{unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/api/__init__.py
RENAMED
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
# import apis into api package
|
|
4
4
|
from unitycatalog.client.api.catalogs_api import CatalogsApi
|
|
5
|
+
from unitycatalog.client.api.credentials_api import CredentialsApi
|
|
6
|
+
from unitycatalog.client.api.external_locations_api import ExternalLocationsApi
|
|
5
7
|
from unitycatalog.client.api.functions_api import FunctionsApi
|
|
6
8
|
from unitycatalog.client.api.grants_api import GrantsApi
|
|
9
|
+
from unitycatalog.client.api.metastores_api import MetastoresApi
|
|
7
10
|
from unitycatalog.client.api.model_versions_api import ModelVersionsApi
|
|
8
11
|
from unitycatalog.client.api.registered_models_api import RegisteredModelsApi
|
|
9
12
|
from unitycatalog.client.api.schemas_api import SchemasApi
|
{unitycatalog_client-0.2.1 → unitycatalog_client-0.3.0}/src/unitycatalog/client/api/catalogs_api.py
RENAMED
|
@@ -257,7 +257,9 @@ class CatalogsApi:
|
|
|
257
257
|
_query_params: List[Tuple[str, str]] = []
|
|
258
258
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
259
259
|
_form_params: List[Tuple[str, str]] = []
|
|
260
|
-
_files: Dict[
|
|
260
|
+
_files: Dict[
|
|
261
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
262
|
+
] = {}
|
|
261
263
|
_body_params: Optional[bytes] = None
|
|
262
264
|
|
|
263
265
|
# process the path parameters
|
|
@@ -270,11 +272,12 @@ class CatalogsApi:
|
|
|
270
272
|
|
|
271
273
|
|
|
272
274
|
# set the HTTP header `Accept`
|
|
273
|
-
|
|
274
|
-
[
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
275
|
+
if 'Accept' not in _header_params:
|
|
276
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
277
|
+
[
|
|
278
|
+
'application/json'
|
|
279
|
+
]
|
|
280
|
+
)
|
|
278
281
|
|
|
279
282
|
# set the HTTP header `Content-Type`
|
|
280
283
|
if _content_type:
|
|
@@ -540,7 +543,9 @@ class CatalogsApi:
|
|
|
540
543
|
_query_params: List[Tuple[str, str]] = []
|
|
541
544
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
542
545
|
_form_params: List[Tuple[str, str]] = []
|
|
543
|
-
_files: Dict[
|
|
546
|
+
_files: Dict[
|
|
547
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
548
|
+
] = {}
|
|
544
549
|
_body_params: Optional[bytes] = None
|
|
545
550
|
|
|
546
551
|
# process the path parameters
|
|
@@ -557,11 +562,12 @@ class CatalogsApi:
|
|
|
557
562
|
|
|
558
563
|
|
|
559
564
|
# set the HTTP header `Accept`
|
|
560
|
-
|
|
561
|
-
[
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
+
if 'Accept' not in _header_params:
|
|
566
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
567
|
+
[
|
|
568
|
+
'application/json'
|
|
569
|
+
]
|
|
570
|
+
)
|
|
565
571
|
|
|
566
572
|
|
|
567
573
|
# authentication setting
|
|
@@ -801,7 +807,9 @@ class CatalogsApi:
|
|
|
801
807
|
_query_params: List[Tuple[str, str]] = []
|
|
802
808
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
803
809
|
_form_params: List[Tuple[str, str]] = []
|
|
804
|
-
_files: Dict[
|
|
810
|
+
_files: Dict[
|
|
811
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
812
|
+
] = {}
|
|
805
813
|
_body_params: Optional[bytes] = None
|
|
806
814
|
|
|
807
815
|
# process the path parameters
|
|
@@ -814,11 +822,12 @@ class CatalogsApi:
|
|
|
814
822
|
|
|
815
823
|
|
|
816
824
|
# set the HTTP header `Accept`
|
|
817
|
-
|
|
818
|
-
[
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
825
|
+
if 'Accept' not in _header_params:
|
|
826
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
827
|
+
[
|
|
828
|
+
'application/json'
|
|
829
|
+
]
|
|
830
|
+
)
|
|
822
831
|
|
|
823
832
|
|
|
824
833
|
# authentication setting
|
|
@@ -1071,7 +1080,9 @@ class CatalogsApi:
|
|
|
1071
1080
|
_query_params: List[Tuple[str, str]] = []
|
|
1072
1081
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1073
1082
|
_form_params: List[Tuple[str, str]] = []
|
|
1074
|
-
_files: Dict[
|
|
1083
|
+
_files: Dict[
|
|
1084
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1085
|
+
] = {}
|
|
1075
1086
|
_body_params: Optional[bytes] = None
|
|
1076
1087
|
|
|
1077
1088
|
# process the path parameters
|
|
@@ -1090,11 +1101,12 @@ class CatalogsApi:
|
|
|
1090
1101
|
|
|
1091
1102
|
|
|
1092
1103
|
# set the HTTP header `Accept`
|
|
1093
|
-
|
|
1094
|
-
[
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1104
|
+
if 'Accept' not in _header_params:
|
|
1105
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1106
|
+
[
|
|
1107
|
+
'application/json'
|
|
1108
|
+
]
|
|
1109
|
+
)
|
|
1098
1110
|
|
|
1099
1111
|
|
|
1100
1112
|
# authentication setting
|
|
@@ -1347,7 +1359,9 @@ class CatalogsApi:
|
|
|
1347
1359
|
_query_params: List[Tuple[str, str]] = []
|
|
1348
1360
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1349
1361
|
_form_params: List[Tuple[str, str]] = []
|
|
1350
|
-
_files: Dict[
|
|
1362
|
+
_files: Dict[
|
|
1363
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1364
|
+
] = {}
|
|
1351
1365
|
_body_params: Optional[bytes] = None
|
|
1352
1366
|
|
|
1353
1367
|
# process the path parameters
|
|
@@ -1362,11 +1376,12 @@ class CatalogsApi:
|
|
|
1362
1376
|
|
|
1363
1377
|
|
|
1364
1378
|
# set the HTTP header `Accept`
|
|
1365
|
-
|
|
1366
|
-
[
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1379
|
+
if 'Accept' not in _header_params:
|
|
1380
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1381
|
+
[
|
|
1382
|
+
'application/json'
|
|
1383
|
+
]
|
|
1384
|
+
)
|
|
1370
1385
|
|
|
1371
1386
|
# set the HTTP header `Content-Type`
|
|
1372
1387
|
if _content_type:
|