lakefs-client-1.9.1


توضیحات

[legacy] lakeFS API
ویژگی مقدار
سیستم عامل -
نام فایل lakefs-client-1.9.1
نام lakefs-client
نسخه کتابخانه 1.9.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Treeverse
ایمیل نویسنده services@treeverse.io
آدرس صفحه اصلی https://github.com/treeverse/lakeFS/tree/master/clients/python-legacy
آدرس اینترنتی https://pypi.org/project/lakefs-client/
مجوز Apache 2.0
[EOL] Do NOT use: lakeFS OpenAPI Python client legacy SDK The lakeFS OpenAPI Python client legacy SDK has reached end of life. Please use lakefs-sdk or lakefs-wrapper instead. * lakefs-sdk code maintains backwards compatibility. * lakefs-wrapper uses lakefs-sdk to provide support at a much higher level. lakefs-client will shortly stop being published. For help migrating, refer to https://docs.lakefs.io/project/code-migrate-1.0-sdk.html#migrating-sdk-code-for-python. # lakefs-client lakeFS HTTP API This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 1.0.0 - Package version: 1.44.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen ## Requirements. Python >= 3.6 ## Installation & Usage ### pip install If the python package is hosted on a repository, you can install directly using: ```sh pip install git+https://github.com/treeverse/lakeFS.git ``` (you may need to run `pip` with root permission: `sudo pip install git+https://github.com/treeverse/lakeFS.git`) Then import the package: ```python import lakefs_client ``` ### Setuptools Install via [Setuptools](http://pypi.python.org/pypi/setuptools). ```sh python setup.py install --user ``` (or `sudo python setup.py install` to install the package for all users) Then import the package: ```python import lakefs_client ``` ## Getting Started Please follow the [installation procedure](#installation--usage) and then run the following: ```python import time import lakefs_client from pprint import pprint from lakefs_client.api import actions_api from lakefs_client.model.action_run import ActionRun from lakefs_client.model.action_run_list import ActionRunList from lakefs_client.model.error import Error from lakefs_client.model.hook_run_list import HookRunList # Defining the host is optional and defaults to http://localhost/api/v1 # See configuration.py for a list of all supported configuration parameters. configuration = lakefs_client.Configuration( host = "http://localhost/api/v1" ) # The client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. # Configure HTTP basic authorization: basic_auth configuration = lakefs_client.Configuration( username = 'YOUR_USERNAME', password = 'YOUR_PASSWORD' ) # Configure API key authorization: cookie_auth configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['cookie_auth'] = 'Bearer' # Configure Bearer authorization (JWT): jwt_token configuration = lakefs_client.Configuration( access_token = 'YOUR_BEARER_TOKEN' ) # Configure API key authorization: oidc_auth configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['oidc_auth'] = 'Bearer' # Configure API key authorization: saml_auth configuration.api_key['saml_auth'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['saml_auth'] = 'Bearer' # Enter a context with an instance of the API client with lakefs_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = actions_api.ActionsApi(api_client) repository = "repository_example" # str | run_id = "run_id_example" # str | try: # get a run api_response = api_instance.get_run(repository, run_id) pprint(api_response) except lakefs_client.ApiException as e: print("Exception when calling ActionsApi->get_run: %s\n" % e) ``` ## Documentation for API Endpoints All URIs are relative to *http://localhost/api/v1* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- *ActionsApi* | [**get_run**](https://pydocs.lakefs.io/v1.44/docs/ActionsApi.html#get_run) | **GET** /repositories/{repository}/actions/runs/{run_id} | get a run *ActionsApi* | [**get_run_hook_output**](https://pydocs.lakefs.io/v1.44/docs/ActionsApi.html#get_run_hook_output) | **GET** /repositories/{repository}/actions/runs/{run_id}/hooks/{hook_run_id}/output | get run hook output *ActionsApi* | [**list_repository_runs**](https://pydocs.lakefs.io/v1.44/docs/ActionsApi.html#list_repository_runs) | **GET** /repositories/{repository}/actions/runs | list runs *ActionsApi* | [**list_run_hooks**](https://pydocs.lakefs.io/v1.44/docs/ActionsApi.html#list_run_hooks) | **GET** /repositories/{repository}/actions/runs/{run_id}/hooks | list run hooks *AuthApi* | [**add_group_membership**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#add_group_membership) | **PUT** /auth/groups/{groupId}/members/{userId} | add group membership *AuthApi* | [**attach_policy_to_group**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#attach_policy_to_group) | **PUT** /auth/groups/{groupId}/policies/{policyId} | attach policy to group *AuthApi* | [**attach_policy_to_user**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#attach_policy_to_user) | **PUT** /auth/users/{userId}/policies/{policyId} | attach policy to user *AuthApi* | [**create_credentials**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#create_credentials) | **POST** /auth/users/{userId}/credentials | create credentials *AuthApi* | [**create_group**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#create_group) | **POST** /auth/groups | create group *AuthApi* | [**create_policy**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#create_policy) | **POST** /auth/policies | create policy *AuthApi* | [**create_user**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#create_user) | **POST** /auth/users | create user *AuthApi* | [**create_user_external_principal**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#create_user_external_principal) | **POST** /auth/users/{userId}/external/principals | attach external principal to user *AuthApi* | [**delete_credentials**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#delete_credentials) | **DELETE** /auth/users/{userId}/credentials/{accessKeyId} | delete credentials *AuthApi* | [**delete_group**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#delete_group) | **DELETE** /auth/groups/{groupId} | delete group *AuthApi* | [**delete_group_membership**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#delete_group_membership) | **DELETE** /auth/groups/{groupId}/members/{userId} | delete group membership *AuthApi* | [**delete_policy**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#delete_policy) | **DELETE** /auth/policies/{policyId} | delete policy *AuthApi* | [**delete_user**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#delete_user) | **DELETE** /auth/users/{userId} | delete user *AuthApi* | [**delete_user_external_principal**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#delete_user_external_principal) | **DELETE** /auth/users/{userId}/external/principals | delete external principal from user *AuthApi* | [**detach_policy_from_group**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#detach_policy_from_group) | **DELETE** /auth/groups/{groupId}/policies/{policyId} | detach policy from group *AuthApi* | [**detach_policy_from_user**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#detach_policy_from_user) | **DELETE** /auth/users/{userId}/policies/{policyId} | detach policy from user *AuthApi* | [**external_principal_login**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#external_principal_login) | **POST** /auth/external/principal/login | perform a login using an external authenticator *AuthApi* | [**get_credentials**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#get_credentials) | **GET** /auth/users/{userId}/credentials/{accessKeyId} | get credentials *AuthApi* | [**get_current_user**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#get_current_user) | **GET** /user | get current user *AuthApi* | [**get_external_principal**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#get_external_principal) | **GET** /auth/external/principals | describe external principal by id *AuthApi* | [**get_group**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#get_group) | **GET** /auth/groups/{groupId} | get group *AuthApi* | [**get_group_acl**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#get_group_acl) | **GET** /auth/groups/{groupId}/acl | get ACL of group *AuthApi* | [**get_policy**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#get_policy) | **GET** /auth/policies/{policyId} | get policy *AuthApi* | [**get_user**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#get_user) | **GET** /auth/users/{userId} | get user *AuthApi* | [**list_group_members**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#list_group_members) | **GET** /auth/groups/{groupId}/members | list group members *AuthApi* | [**list_group_policies**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#list_group_policies) | **GET** /auth/groups/{groupId}/policies | list group policies *AuthApi* | [**list_groups**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#list_groups) | **GET** /auth/groups | list groups *AuthApi* | [**list_policies**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#list_policies) | **GET** /auth/policies | list policies *AuthApi* | [**list_user_credentials**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#list_user_credentials) | **GET** /auth/users/{userId}/credentials | list user credentials *AuthApi* | [**list_user_external_principals**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#list_user_external_principals) | **GET** /auth/users/{userId}/external/principals/ls | list user external policies attached to a user *AuthApi* | [**list_user_groups**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#list_user_groups) | **GET** /auth/users/{userId}/groups | list user groups *AuthApi* | [**list_user_policies**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#list_user_policies) | **GET** /auth/users/{userId}/policies | list user policies *AuthApi* | [**list_users**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#list_users) | **GET** /auth/users | list users *AuthApi* | [**login**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#login) | **POST** /auth/login | perform a login *AuthApi* | [**set_group_acl**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#set_group_acl) | **POST** /auth/groups/{groupId}/acl | set ACL of group *AuthApi* | [**update_policy**](https://pydocs.lakefs.io/v1.44/docs/AuthApi.html#update_policy) | **PUT** /auth/policies/{policyId} | update policy *BranchesApi* | [**cherry_pick**](https://pydocs.lakefs.io/v1.44/docs/BranchesApi.html#cherry_pick) | **POST** /repositories/{repository}/branches/{branch}/cherry-pick | Replay the changes from the given commit on the branch *BranchesApi* | [**create_branch**](https://pydocs.lakefs.io/v1.44/docs/BranchesApi.html#create_branch) | **POST** /repositories/{repository}/branches | create branch *BranchesApi* | [**delete_branch**](https://pydocs.lakefs.io/v1.44/docs/BranchesApi.html#delete_branch) | **DELETE** /repositories/{repository}/branches/{branch} | delete branch *BranchesApi* | [**diff_branch**](https://pydocs.lakefs.io/v1.44/docs/BranchesApi.html#diff_branch) | **GET** /repositories/{repository}/branches/{branch}/diff | diff branch *BranchesApi* | [**get_branch**](https://pydocs.lakefs.io/v1.44/docs/BranchesApi.html#get_branch) | **GET** /repositories/{repository}/branches/{branch} | get branch *BranchesApi* | [**list_branches**](https://pydocs.lakefs.io/v1.44/docs/BranchesApi.html#list_branches) | **GET** /repositories/{repository}/branches | list branches *BranchesApi* | [**reset_branch**](https://pydocs.lakefs.io/v1.44/docs/BranchesApi.html#reset_branch) | **PUT** /repositories/{repository}/branches/{branch} | reset branch *BranchesApi* | [**revert_branch**](https://pydocs.lakefs.io/v1.44/docs/BranchesApi.html#revert_branch) | **POST** /repositories/{repository}/branches/{branch}/revert | revert *CommitsApi* | [**commit**](https://pydocs.lakefs.io/v1.44/docs/CommitsApi.html#commit) | **POST** /repositories/{repository}/branches/{branch}/commits | create commit *CommitsApi* | [**get_commit**](https://pydocs.lakefs.io/v1.44/docs/CommitsApi.html#get_commit) | **GET** /repositories/{repository}/commits/{commitId} | get commit *ConfigApi* | [**get_config**](https://pydocs.lakefs.io/v1.44/docs/ConfigApi.html#get_config) | **GET** /config | *ExperimentalApi* | [**abort_presign_multipart_upload**](https://pydocs.lakefs.io/v1.44/docs/ExperimentalApi.html#abort_presign_multipart_upload) | **DELETE** /repositories/{repository}/branches/{branch}/staging/pmpu/{uploadId} | Abort a presign multipart upload *ExperimentalApi* | [**complete_presign_multipart_upload**](https://pydocs.lakefs.io/v1.44/docs/ExperimentalApi.html#complete_presign_multipart_upload) | **PUT** /repositories/{repository}/branches/{branch}/staging/pmpu/{uploadId} | Complete a presign multipart upload request *ExperimentalApi* | [**create_presign_multipart_upload**](https://pydocs.lakefs.io/v1.44/docs/ExperimentalApi.html#create_presign_multipart_upload) | **POST** /repositories/{repository}/branches/{branch}/staging/pmpu | Initiate a multipart upload *ExperimentalApi* | [**create_pull_request**](https://pydocs.lakefs.io/v1.44/docs/ExperimentalApi.html#create_pull_request) | **POST** /repositories/{repository}/pulls | create pull request *ExperimentalApi* | [**create_user_external_principal**](https://pydocs.lakefs.io/v1.44/docs/ExperimentalApi.html#create_user_external_principal) | **POST** /auth/users/{userId}/external/principals | attach external principal to user *ExperimentalApi* | [**delete_user_external_principal**](https://pydocs.lakefs.io/v1.44/docs/ExperimentalApi.html#delete_user_external_principal) | **DELETE** /auth/users/{userId}/external/principals | delete external principal from user *ExperimentalApi* | [**external_principal_login**](https://pydocs.lakefs.io/v1.44/docs/ExperimentalApi.html#external_principal_login) | **POST** /auth/external/principal/login | perform a login using an external authenticator *ExperimentalApi* | [**get_external_principal**](https://pydocs.lakefs.io/v1.44/docs/ExperimentalApi.html#get_external_principal) | **GET** /auth/external/principals | describe external principal by id *ExperimentalApi* | [**get_pull_request**](https://pydocs.lakefs.io/v1.44/docs/ExperimentalApi.html#get_pull_request) | **GET** /repositories/{repository}/pulls/{pull_request} | get pull request *ExperimentalApi* | [**hard_reset_branch**](https://pydocs.lakefs.io/v1.44/docs/ExperimentalApi.html#hard_reset_branch) | **PUT** /repositories/{repository}/branches/{branch}/hard_reset | hard reset branch *ExperimentalApi* | [**list_pull_requests**](https://pydocs.lakefs.io/v1.44/docs/ExperimentalApi.html#list_pull_requests) | **GET** /repositories/{repository}/pulls | list pull requests *ExperimentalApi* | [**list_user_external_principals**](https://pydocs.lakefs.io/v1.44/docs/ExperimentalApi.html#list_user_external_principals) | **GET** /auth/users/{userId}/external/principals/ls | list user external policies attached to a user *ExperimentalApi* | [**merge_pull_request**](https://pydocs.lakefs.io/v1.44/docs/ExperimentalApi.html#merge_pull_request) | **PUT** /repositories/{repository}/pulls/{pull_request}/merge | merge pull request *ExperimentalApi* | [**sts_login**](https://pydocs.lakefs.io/v1.44/docs/ExperimentalApi.html#sts_login) | **POST** /sts/login | perform a login with STS *ExperimentalApi* | [**update_object_user_metadata**](https://pydocs.lakefs.io/v1.44/docs/ExperimentalApi.html#update_object_user_metadata) | **PUT** /repositories/{repository}/branches/{branch}/objects/stat/user_metadata | rewrite (all) object metadata *ExperimentalApi* | [**update_pull_request**](https://pydocs.lakefs.io/v1.44/docs/ExperimentalApi.html#update_pull_request) | **PATCH** /repositories/{repository}/pulls/{pull_request} | update pull request *ExternalApi* | [**create_user_external_principal**](https://pydocs.lakefs.io/v1.44/docs/ExternalApi.html#create_user_external_principal) | **POST** /auth/users/{userId}/external/principals | attach external principal to user *ExternalApi* | [**delete_user_external_principal**](https://pydocs.lakefs.io/v1.44/docs/ExternalApi.html#delete_user_external_principal) | **DELETE** /auth/users/{userId}/external/principals | delete external principal from user *ExternalApi* | [**external_principal_login**](https://pydocs.lakefs.io/v1.44/docs/ExternalApi.html#external_principal_login) | **POST** /auth/external/principal/login | perform a login using an external authenticator *ExternalApi* | [**get_external_principal**](https://pydocs.lakefs.io/v1.44/docs/ExternalApi.html#get_external_principal) | **GET** /auth/external/principals | describe external principal by id *ExternalApi* | [**list_user_external_principals**](https://pydocs.lakefs.io/v1.44/docs/ExternalApi.html#list_user_external_principals) | **GET** /auth/users/{userId}/external/principals/ls | list user external policies attached to a user *HealthCheckApi* | [**health_check**](https://pydocs.lakefs.io/v1.44/docs/HealthCheckApi.html#health_check) | **GET** /healthcheck | *ImportApi* | [**import_cancel**](https://pydocs.lakefs.io/v1.44/docs/ImportApi.html#import_cancel) | **DELETE** /repositories/{repository}/branches/{branch}/import | cancel ongoing import *ImportApi* | [**import_start**](https://pydocs.lakefs.io/v1.44/docs/ImportApi.html#import_start) | **POST** /repositories/{repository}/branches/{branch}/import | import data from object store *ImportApi* | [**import_status**](https://pydocs.lakefs.io/v1.44/docs/ImportApi.html#import_status) | **GET** /repositories/{repository}/branches/{branch}/import | get import status *InternalApi* | [**create_branch_protection_rule_preflight**](https://pydocs.lakefs.io/v1.44/docs/InternalApi.html#create_branch_protection_rule_preflight) | **GET** /repositories/{repository}/branch_protection/set_allowed | *InternalApi* | [**create_commit_record**](https://pydocs.lakefs.io/v1.44/docs/InternalApi.html#create_commit_record) | **POST** /repositories/{repository}/commits | create commit record *InternalApi* | [**create_symlink_file**](https://pydocs.lakefs.io/v1.44/docs/InternalApi.html#create_symlink_file) | **POST** /repositories/{repository}/refs/{branch}/symlink | creates symlink files corresponding to the given directory *InternalApi* | [**delete_repository_metadata**](https://pydocs.lakefs.io/v1.44/docs/InternalApi.html#delete_repository_metadata) | **DELETE** /repositories/{repository}/metadata | delete repository metadata *InternalApi* | [**dump_refs**](https://pydocs.lakefs.io/v1.44/docs/InternalApi.html#dump_refs) | **PUT** /repositories/{repository}/refs/dump | Dump repository refs (tags, commits, branches) to object store Deprecated: a new API will introduce long running operations *InternalApi* | [**get_auth_capabilities**](https://pydocs.lakefs.io/v1.44/docs/InternalApi.html#get_auth_capabilities) | **GET** /auth/capabilities | list authentication capabilities supported *InternalApi* | [**get_garbage_collection_config**](https://pydocs.lakefs.io/v1.44/docs/InternalApi.html#get_garbage_collection_config) | **GET** /config/garbage-collection | *InternalApi* | [**get_lake_fs_version**](https://pydocs.lakefs.io/v1.44/docs/InternalApi.html#get_lake_fs_version) | **GET** /config/version | *InternalApi* | [**get_metadata_object**](https://pydocs.lakefs.io/v1.44/docs/InternalApi.html#get_metadata_object) | **GET** /repositories/{repository}/metadata/object/{type}/{object_id} | return a lakeFS metadata object by ID *InternalApi* | [**get_setup_state**](https://pydocs.lakefs.io/v1.44/docs/InternalApi.html#get_setup_state) | **GET** /setup_lakefs | check if the lakeFS installation is already set up *InternalApi* | [**get_storage_config**](https://pydocs.lakefs.io/v1.44/docs/InternalApi.html#get_storage_config) | **GET** /config/storage | *InternalApi* | [**get_usage_report_summary**](https://pydocs.lakefs.io/v1.44/docs/InternalApi.html#get_usage_report_summary) | **GET** /usage-report/summary | get usage report summary *InternalApi* | [**internal_create_branch_protection_rule**](https://pydocs.lakefs.io/v1.44/docs/InternalApi.html#internal_create_branch_protection_rule) | **POST** /repositories/{repository}/branch_protection | *InternalApi* | [**internal_delete_branch_protection_rule**](https://pydocs.lakefs.io/v1.44/docs/InternalApi.html#internal_delete_branch_protection_rule) | **DELETE** /repositories/{repository}/branch_protection | *InternalApi* | [**internal_delete_garbage_collection_rules**](https://pydocs.lakefs.io/v1.44/docs/InternalApi.html#internal_delete_garbage_collection_rules) | **DELETE** /repositories/{repository}/gc/rules | *InternalApi* | [**internal_get_branch_protection_rules**](https://pydocs.lakefs.io/v1.44/docs/InternalApi.html#internal_get_branch_protection_rules) | **GET** /repositories/{repository}/branch_protection | get branch protection rules *InternalApi* | [**internal_get_garbage_collection_rules**](https://pydocs.lakefs.io/v1.44/docs/InternalApi.html#internal_get_garbage_collection_rules) | **GET** /repositories/{repository}/gc/rules | *InternalApi* | [**internal_set_garbage_collection_rules**](https://pydocs.lakefs.io/v1.44/docs/InternalApi.html#internal_set_garbage_collection_rules) | **POST** /repositories/{repository}/gc/rules | *InternalApi* | [**post_stats_events**](https://pydocs.lakefs.io/v1.44/docs/InternalApi.html#post_stats_events) | **POST** /statistics | post stats events, this endpoint is meant for internal use only *InternalApi* | [**prepare_garbage_collection_commits**](https://pydocs.lakefs.io/v1.44/docs/InternalApi.html#prepare_garbage_collection_commits) | **POST** /repositories/{repository}/gc/prepare_commits | save lists of active commits for garbage collection *InternalApi* | [**prepare_garbage_collection_uncommitted**](https://pydocs.lakefs.io/v1.44/docs/InternalApi.html#prepare_garbage_collection_uncommitted) | **POST** /repositories/{repository}/gc/prepare_uncommited | save repository uncommitted metadata for garbage collection *InternalApi* | [**restore_refs**](https://pydocs.lakefs.io/v1.44/docs/InternalApi.html#restore_refs) | **PUT** /repositories/{repository}/refs/restore | Restore repository refs (tags, commits, branches) from object store. Deprecated: a new API will introduce long running operations *InternalApi* | [**set_garbage_collection_rules_preflight**](https://pydocs.lakefs.io/v1.44/docs/InternalApi.html#set_garbage_collection_rules_preflight) | **GET** /repositories/{repository}/gc/rules/set_allowed | *InternalApi* | [**set_repository_metadata**](https://pydocs.lakefs.io/v1.44/docs/InternalApi.html#set_repository_metadata) | **POST** /repositories/{repository}/metadata | set repository metadata *InternalApi* | [**setup**](https://pydocs.lakefs.io/v1.44/docs/InternalApi.html#setup) | **POST** /setup_lakefs | setup lakeFS and create a first user *InternalApi* | [**setup_comm_prefs**](https://pydocs.lakefs.io/v1.44/docs/InternalApi.html#setup_comm_prefs) | **POST** /setup_comm_prefs | setup communications preferences *InternalApi* | [**stage_object**](https://pydocs.lakefs.io/v1.44/docs/InternalApi.html#stage_object) | **PUT** /repositories/{repository}/branches/{branch}/objects | stage an object's metadata for the given branch *InternalApi* | [**upload_object_preflight**](https://pydocs.lakefs.io/v1.44/docs/InternalApi.html#upload_object_preflight) | **GET** /repositories/{repository}/branches/{branch}/objects/stage_allowed | *MetadataApi* | [**get_meta_range**](https://pydocs.lakefs.io/v1.44/docs/MetadataApi.html#get_meta_range) | **GET** /repositories/{repository}/metadata/meta_range/{meta_range} | return URI to a meta-range file *MetadataApi* | [**get_range**](https://pydocs.lakefs.io/v1.44/docs/MetadataApi.html#get_range) | **GET** /repositories/{repository}/metadata/range/{range} | return URI to a range file *ObjectsApi* | [**copy_object**](https://pydocs.lakefs.io/v1.44/docs/ObjectsApi.html#copy_object) | **POST** /repositories/{repository}/branches/{branch}/objects/copy | create a copy of an object *ObjectsApi* | [**delete_object**](https://pydocs.lakefs.io/v1.44/docs/ObjectsApi.html#delete_object) | **DELETE** /repositories/{repository}/branches/{branch}/objects | delete object. Missing objects will not return a NotFound error. *ObjectsApi* | [**delete_objects**](https://pydocs.lakefs.io/v1.44/docs/ObjectsApi.html#delete_objects) | **POST** /repositories/{repository}/branches/{branch}/objects/delete | delete objects. Missing objects will not return a NotFound error. *ObjectsApi* | [**get_object**](https://pydocs.lakefs.io/v1.44/docs/ObjectsApi.html#get_object) | **GET** /repositories/{repository}/refs/{ref}/objects | get object content *ObjectsApi* | [**get_underlying_properties**](https://pydocs.lakefs.io/v1.44/docs/ObjectsApi.html#get_underlying_properties) | **GET** /repositories/{repository}/refs/{ref}/objects/underlyingProperties | get object properties on underlying storage *ObjectsApi* | [**head_object**](https://pydocs.lakefs.io/v1.44/docs/ObjectsApi.html#head_object) | **HEAD** /repositories/{repository}/refs/{ref}/objects | check if object exists *ObjectsApi* | [**list_objects**](https://pydocs.lakefs.io/v1.44/docs/ObjectsApi.html#list_objects) | **GET** /repositories/{repository}/refs/{ref}/objects/ls | list objects under a given prefix *ObjectsApi* | [**stat_object**](https://pydocs.lakefs.io/v1.44/docs/ObjectsApi.html#stat_object) | **GET** /repositories/{repository}/refs/{ref}/objects/stat | get object metadata *ObjectsApi* | [**update_object_user_metadata**](https://pydocs.lakefs.io/v1.44/docs/ObjectsApi.html#update_object_user_metadata) | **PUT** /repositories/{repository}/branches/{branch}/objects/stat/user_metadata | rewrite (all) object metadata *ObjectsApi* | [**upload_object**](https://pydocs.lakefs.io/v1.44/docs/ObjectsApi.html#upload_object) | **POST** /repositories/{repository}/branches/{branch}/objects | *PullsApi* | [**create_pull_request**](https://pydocs.lakefs.io/v1.44/docs/PullsApi.html#create_pull_request) | **POST** /repositories/{repository}/pulls | create pull request *PullsApi* | [**get_pull_request**](https://pydocs.lakefs.io/v1.44/docs/PullsApi.html#get_pull_request) | **GET** /repositories/{repository}/pulls/{pull_request} | get pull request *PullsApi* | [**list_pull_requests**](https://pydocs.lakefs.io/v1.44/docs/PullsApi.html#list_pull_requests) | **GET** /repositories/{repository}/pulls | list pull requests *PullsApi* | [**merge_pull_request**](https://pydocs.lakefs.io/v1.44/docs/PullsApi.html#merge_pull_request) | **PUT** /repositories/{repository}/pulls/{pull_request}/merge | merge pull request *PullsApi* | [**update_pull_request**](https://pydocs.lakefs.io/v1.44/docs/PullsApi.html#update_pull_request) | **PATCH** /repositories/{repository}/pulls/{pull_request} | update pull request *RefsApi* | [**diff_refs**](https://pydocs.lakefs.io/v1.44/docs/RefsApi.html#diff_refs) | **GET** /repositories/{repository}/refs/{leftRef}/diff/{rightRef} | diff references *RefsApi* | [**find_merge_base**](https://pydocs.lakefs.io/v1.44/docs/RefsApi.html#find_merge_base) | **GET** /repositories/{repository}/refs/{sourceRef}/merge/{destinationBranch} | find the merge base for 2 references *RefsApi* | [**log_commits**](https://pydocs.lakefs.io/v1.44/docs/RefsApi.html#log_commits) | **GET** /repositories/{repository}/refs/{ref}/commits | get commit log from ref. If both objects and prefixes are empty, return all commits. *RefsApi* | [**merge_into_branch**](https://pydocs.lakefs.io/v1.44/docs/RefsApi.html#merge_into_branch) | **POST** /repositories/{repository}/refs/{sourceRef}/merge/{destinationBranch} | merge references *RepositoriesApi* | [**create_repository**](https://pydocs.lakefs.io/v1.44/docs/RepositoriesApi.html#create_repository) | **POST** /repositories | create repository *RepositoriesApi* | [**delete_gc_rules**](https://pydocs.lakefs.io/v1.44/docs/RepositoriesApi.html#delete_gc_rules) | **DELETE** /repositories/{repository}/settings/gc_rules | *RepositoriesApi* | [**delete_repository**](https://pydocs.lakefs.io/v1.44/docs/RepositoriesApi.html#delete_repository) | **DELETE** /repositories/{repository} | delete repository *RepositoriesApi* | [**dump_status**](https://pydocs.lakefs.io/v1.44/docs/RepositoriesApi.html#dump_status) | **GET** /repositories/{repository}/dump | Status of a repository dump task *RepositoriesApi* | [**dump_submit**](https://pydocs.lakefs.io/v1.44/docs/RepositoriesApi.html#dump_submit) | **POST** /repositories/{repository}/dump | Backup the repository metadata (tags, commits, branches) and save the backup to the object store. *RepositoriesApi* | [**get_branch_protection_rules**](https://pydocs.lakefs.io/v1.44/docs/RepositoriesApi.html#get_branch_protection_rules) | **GET** /repositories/{repository}/settings/branch_protection | get branch protection rules *RepositoriesApi* | [**get_gc_rules**](https://pydocs.lakefs.io/v1.44/docs/RepositoriesApi.html#get_gc_rules) | **GET** /repositories/{repository}/settings/gc_rules | get repository GC rules *RepositoriesApi* | [**get_repository**](https://pydocs.lakefs.io/v1.44/docs/RepositoriesApi.html#get_repository) | **GET** /repositories/{repository} | get repository *RepositoriesApi* | [**get_repository_metadata**](https://pydocs.lakefs.io/v1.44/docs/RepositoriesApi.html#get_repository_metadata) | **GET** /repositories/{repository}/metadata | get repository metadata *RepositoriesApi* | [**list_repositories**](https://pydocs.lakefs.io/v1.44/docs/RepositoriesApi.html#list_repositories) | **GET** /repositories | list repositories *RepositoriesApi* | [**restore_status**](https://pydocs.lakefs.io/v1.44/docs/RepositoriesApi.html#restore_status) | **GET** /repositories/{repository}/restore | Status of a restore request *RepositoriesApi* | [**restore_submit**](https://pydocs.lakefs.io/v1.44/docs/RepositoriesApi.html#restore_submit) | **POST** /repositories/{repository}/restore | Restore repository from a dump in the object store *RepositoriesApi* | [**set_branch_protection_rules**](https://pydocs.lakefs.io/v1.44/docs/RepositoriesApi.html#set_branch_protection_rules) | **PUT** /repositories/{repository}/settings/branch_protection | *RepositoriesApi* | [**set_gc_rules**](https://pydocs.lakefs.io/v1.44/docs/RepositoriesApi.html#set_gc_rules) | **PUT** /repositories/{repository}/settings/gc_rules | *StagingApi* | [**get_physical_address**](https://pydocs.lakefs.io/v1.44/docs/StagingApi.html#get_physical_address) | **GET** /repositories/{repository}/branches/{branch}/staging/backing | generate an address to which the client can upload an object *StagingApi* | [**link_physical_address**](https://pydocs.lakefs.io/v1.44/docs/StagingApi.html#link_physical_address) | **PUT** /repositories/{repository}/branches/{branch}/staging/backing | associate staging on this physical address with a path *TagsApi* | [**create_tag**](https://pydocs.lakefs.io/v1.44/docs/TagsApi.html#create_tag) | **POST** /repositories/{repository}/tags | create tag *TagsApi* | [**delete_tag**](https://pydocs.lakefs.io/v1.44/docs/TagsApi.html#delete_tag) | **DELETE** /repositories/{repository}/tags/{tag} | delete tag *TagsApi* | [**get_tag**](https://pydocs.lakefs.io/v1.44/docs/TagsApi.html#get_tag) | **GET** /repositories/{repository}/tags/{tag} | get tag *TagsApi* | [**list_tags**](https://pydocs.lakefs.io/v1.44/docs/TagsApi.html#list_tags) | **GET** /repositories/{repository}/tags | list tags ## Documentation For Models - [ACL](https://pydocs.lakefs.io/v1.44/docs/ACL.html) - [AbortPresignMultipartUpload](https://pydocs.lakefs.io/v1.44/docs/AbortPresignMultipartUpload.html) - [AccessKeyCredentials](https://pydocs.lakefs.io/v1.44/docs/AccessKeyCredentials.html) - [ActionRun](https://pydocs.lakefs.io/v1.44/docs/ActionRun.html) - [ActionRunList](https://pydocs.lakefs.io/v1.44/docs/ActionRunList.html) - [AuthCapabilities](https://pydocs.lakefs.io/v1.44/docs/AuthCapabilities.html) - [AuthenticationToken](https://pydocs.lakefs.io/v1.44/docs/AuthenticationToken.html) - [BranchCreation](https://pydocs.lakefs.io/v1.44/docs/BranchCreation.html) - [BranchProtectionRule](https://pydocs.lakefs.io/v1.44/docs/BranchProtectionRule.html) - [CherryPickCreation](https://pydocs.lakefs.io/v1.44/docs/CherryPickCreation.html) - [CommPrefsInput](https://pydocs.lakefs.io/v1.44/docs/CommPrefsInput.html) - [Commit](https://pydocs.lakefs.io/v1.44/docs/Commit.html) - [CommitCreation](https://pydocs.lakefs.io/v1.44/docs/CommitCreation.html) - [CommitList](https://pydocs.lakefs.io/v1.44/docs/CommitList.html) - [CommitOverrides](https://pydocs.lakefs.io/v1.44/docs/CommitOverrides.html) - [CommitRecordCreation](https://pydocs.lakefs.io/v1.44/docs/CommitRecordCreation.html) - [CompletePresignMultipartUpload](https://pydocs.lakefs.io/v1.44/docs/CompletePresignMultipartUpload.html) - [Config](https://pydocs.lakefs.io/v1.44/docs/Config.html) - [Credentials](https://pydocs.lakefs.io/v1.44/docs/Credentials.html) - [CredentialsList](https://pydocs.lakefs.io/v1.44/docs/CredentialsList.html) - [CredentialsWithSecret](https://pydocs.lakefs.io/v1.44/docs/CredentialsWithSecret.html) - [CurrentUser](https://pydocs.lakefs.io/v1.44/docs/CurrentUser.html) - [Diff](https://pydocs.lakefs.io/v1.44/docs/Diff.html) - [DiffList](https://pydocs.lakefs.io/v1.44/docs/DiffList.html) - [Error](https://pydocs.lakefs.io/v1.44/docs/Error.html) - [ErrorNoACL](https://pydocs.lakefs.io/v1.44/docs/ErrorNoACL.html) - [ExternalLoginInformation](https://pydocs.lakefs.io/v1.44/docs/ExternalLoginInformation.html) - [ExternalPrincipal](https://pydocs.lakefs.io/v1.44/docs/ExternalPrincipal.html) - [ExternalPrincipalCreation](https://pydocs.lakefs.io/v1.44/docs/ExternalPrincipalCreation.html) - [ExternalPrincipalList](https://pydocs.lakefs.io/v1.44/docs/ExternalPrincipalList.html) - [ExternalPrincipalSettings](https://pydocs.lakefs.io/v1.44/docs/ExternalPrincipalSettings.html) - [FindMergeBaseResult](https://pydocs.lakefs.io/v1.44/docs/FindMergeBaseResult.html) - [GarbageCollectionConfig](https://pydocs.lakefs.io/v1.44/docs/GarbageCollectionConfig.html) - [GarbageCollectionPrepareResponse](https://pydocs.lakefs.io/v1.44/docs/GarbageCollectionPrepareResponse.html) - [GarbageCollectionRule](https://pydocs.lakefs.io/v1.44/docs/GarbageCollectionRule.html) - [GarbageCollectionRules](https://pydocs.lakefs.io/v1.44/docs/GarbageCollectionRules.html) - [Group](https://pydocs.lakefs.io/v1.44/docs/Group.html) - [GroupCreation](https://pydocs.lakefs.io/v1.44/docs/GroupCreation.html) - [GroupList](https://pydocs.lakefs.io/v1.44/docs/GroupList.html) - [HookRun](https://pydocs.lakefs.io/v1.44/docs/HookRun.html) - [HookRunList](https://pydocs.lakefs.io/v1.44/docs/HookRunList.html) - [ImportCreation](https://pydocs.lakefs.io/v1.44/docs/ImportCreation.html) - [ImportCreationResponse](https://pydocs.lakefs.io/v1.44/docs/ImportCreationResponse.html) - [ImportLocation](https://pydocs.lakefs.io/v1.44/docs/ImportLocation.html) - [ImportStatus](https://pydocs.lakefs.io/v1.44/docs/ImportStatus.html) - [InlineObject](https://pydocs.lakefs.io/v1.44/docs/InlineObject.html) - [InlineObject1](docs/InlineObject1.md) - [InstallationUsageReport](https://pydocs.lakefs.io/v1.44/docs/InstallationUsageReport.html) - [LoginConfig](https://pydocs.lakefs.io/v1.44/docs/LoginConfig.html) - [LoginInformation](https://pydocs.lakefs.io/v1.44/docs/LoginInformation.html) - [Merge](https://pydocs.lakefs.io/v1.44/docs/Merge.html) - [MergeResult](https://pydocs.lakefs.io/v1.44/docs/MergeResult.html) - [MetaRangeCreation](https://pydocs.lakefs.io/v1.44/docs/MetaRangeCreation.html) - [MetaRangeCreationResponse](https://pydocs.lakefs.io/v1.44/docs/MetaRangeCreationResponse.html) - [ObjectCopyCreation](https://pydocs.lakefs.io/v1.44/docs/ObjectCopyCreation.html) - [ObjectError](https://pydocs.lakefs.io/v1.44/docs/ObjectError.html) - [ObjectErrorList](https://pydocs.lakefs.io/v1.44/docs/ObjectErrorList.html) - [ObjectStageCreation](https://pydocs.lakefs.io/v1.44/docs/ObjectStageCreation.html) - [ObjectStats](https://pydocs.lakefs.io/v1.44/docs/ObjectStats.html) - [ObjectStatsList](https://pydocs.lakefs.io/v1.44/docs/ObjectStatsList.html) - [ObjectUserMetadata](https://pydocs.lakefs.io/v1.44/docs/ObjectUserMetadata.html) - [Pagination](https://pydocs.lakefs.io/v1.44/docs/Pagination.html) - [PathList](https://pydocs.lakefs.io/v1.44/docs/PathList.html) - [Policy](https://pydocs.lakefs.io/v1.44/docs/Policy.html) - [PolicyList](https://pydocs.lakefs.io/v1.44/docs/PolicyList.html) - [PrepareGCUncommittedRequest](https://pydocs.lakefs.io/v1.44/docs/PrepareGCUncommittedRequest.html) - [PrepareGCUncommittedResponse](https://pydocs.lakefs.io/v1.44/docs/PrepareGCUncommittedResponse.html) - [PresignMultipartUpload](https://pydocs.lakefs.io/v1.44/docs/PresignMultipartUpload.html) - [PullRequest](https://pydocs.lakefs.io/v1.44/docs/PullRequest.html) - [PullRequestAllOf](https://pydocs.lakefs.io/v1.44/docs/PullRequestAllOf.html) - [PullRequestBasic](https://pydocs.lakefs.io/v1.44/docs/PullRequestBasic.html) - [PullRequestCreation](https://pydocs.lakefs.io/v1.44/docs/PullRequestCreation.html) - [PullRequestCreationResponse](https://pydocs.lakefs.io/v1.44/docs/PullRequestCreationResponse.html) - [PullRequestsList](https://pydocs.lakefs.io/v1.44/docs/PullRequestsList.html) - [RangeMetadata](https://pydocs.lakefs.io/v1.44/docs/RangeMetadata.html) - [Ref](https://pydocs.lakefs.io/v1.44/docs/Ref.html) - [RefList](https://pydocs.lakefs.io/v1.44/docs/RefList.html) - [RefsDump](https://pydocs.lakefs.io/v1.44/docs/RefsDump.html) - [RefsRestore](https://pydocs.lakefs.io/v1.44/docs/RefsRestore.html) - [Repository](https://pydocs.lakefs.io/v1.44/docs/Repository.html) - [RepositoryCreation](https://pydocs.lakefs.io/v1.44/docs/RepositoryCreation.html) - [RepositoryDumpStatus](https://pydocs.lakefs.io/v1.44/docs/RepositoryDumpStatus.html) - [RepositoryList](https://pydocs.lakefs.io/v1.44/docs/RepositoryList.html) - [RepositoryMetadata](https://pydocs.lakefs.io/v1.44/docs/RepositoryMetadata.html) - [RepositoryMetadataKeys](https://pydocs.lakefs.io/v1.44/docs/RepositoryMetadataKeys.html) - [RepositoryMetadataSet](https://pydocs.lakefs.io/v1.44/docs/RepositoryMetadataSet.html) - [RepositoryRestoreStatus](https://pydocs.lakefs.io/v1.44/docs/RepositoryRestoreStatus.html) - [ResetCreation](https://pydocs.lakefs.io/v1.44/docs/ResetCreation.html) - [RevertCreation](https://pydocs.lakefs.io/v1.44/docs/RevertCreation.html) - [Setup](https://pydocs.lakefs.io/v1.44/docs/Setup.html) - [SetupState](https://pydocs.lakefs.io/v1.44/docs/SetupState.html) - [StagingLocation](https://pydocs.lakefs.io/v1.44/docs/StagingLocation.html) - [StagingMetadata](https://pydocs.lakefs.io/v1.44/docs/StagingMetadata.html) - [Statement](https://pydocs.lakefs.io/v1.44/docs/Statement.html) - [StatsEvent](https://pydocs.lakefs.io/v1.44/docs/StatsEvent.html) - [StatsEventsList](https://pydocs.lakefs.io/v1.44/docs/StatsEventsList.html) - [StorageConfig](https://pydocs.lakefs.io/v1.44/docs/StorageConfig.html) - [StorageURI](https://pydocs.lakefs.io/v1.44/docs/StorageURI.html) - [StsAuthRequest](https://pydocs.lakefs.io/v1.44/docs/StsAuthRequest.html) - [TagCreation](https://pydocs.lakefs.io/v1.44/docs/TagCreation.html) - [TaskInfo](https://pydocs.lakefs.io/v1.44/docs/TaskInfo.html) - [UnderlyingObjectProperties](https://pydocs.lakefs.io/v1.44/docs/UnderlyingObjectProperties.html) - [UpdateObjectUserMetadata](https://pydocs.lakefs.io/v1.44/docs/UpdateObjectUserMetadata.html) - [UpdateToken](https://pydocs.lakefs.io/v1.44/docs/UpdateToken.html) - [UploadPart](https://pydocs.lakefs.io/v1.44/docs/UploadPart.html) - [UsageReport](https://pydocs.lakefs.io/v1.44/docs/UsageReport.html) - [User](https://pydocs.lakefs.io/v1.44/docs/User.html) - [UserCreation](https://pydocs.lakefs.io/v1.44/docs/UserCreation.html) - [UserList](https://pydocs.lakefs.io/v1.44/docs/UserList.html) - [VersionConfig](https://pydocs.lakefs.io/v1.44/docs/VersionConfig.html) ## Documentation For Authorization ## basic_auth - **Type**: HTTP basic authentication ## cookie_auth - **Type**: API key - **API key parameter name**: internal_auth_session - **Location**: ## jwt_token - **Type**: Bearer authentication (JWT) ## oidc_auth - **Type**: API key - **API key parameter name**: oidc_auth_session - **Location**: ## saml_auth - **Type**: API key - **API key parameter name**: saml_auth_session - **Location**: ## Author services@treeverse.io ## Notes for Large OpenAPI documents If the OpenAPI document is large, imports in lakefs_client.apis and lakefs_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 lakefs_client.api.default_api import DefaultApi` - `from lakefs_client.model.pet import Pet` Solution 2: Before importing the package, adjust the maximum recursion limit as shown below: ``` import sys sys.setrecursionlimit(1500) import lakefs_client from lakefs_client.apis import * from lakefs_client.models import * ```


نیازمندی

مقدار نام
- urllib3>=1.25.3
- python-dateutil


زبان مورد نیاز

مقدار نام
>=3.6 Python


نحوه نصب


نصب پکیج whl lakefs-client-1.9.1:

    pip install lakefs-client-1.9.1.whl


نصب پکیج tar.gz lakefs-client-1.9.1:

    pip install lakefs-client-1.9.1.tar.gz