aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-11-17 16:08:43 -0800
committerBryan Newbold <bnewbold@robocracy.org>2021-11-23 17:39:02 -0800
commit82ee0c7d967e2ff40270a8435ea292b41e22fa17 (patch)
tree61092d32595a964e39a02f42e5b5f08c14ee7e03
parenta1bb48b5d2e9536ee7b3da4a7721e049936793e8 (diff)
downloadfatcat-82ee0c7d967e2ff40270a8435ea292b41e22fa17.tar.gz
fatcat-82ee0c7d967e2ff40270a8435ea292b41e22fa17.zip
python client: start adding type annotation stubs
-rw-r--r--python_openapi_client/fatcat_openapi_client/__init__.pyi39
-rw-r--r--python_openapi_client/fatcat_openapi_client/__version__.pyi4
-rw-r--r--python_openapi_client/fatcat_openapi_client/api/__init__.pyi1
-rw-r--r--python_openapi_client/fatcat_openapi_client/api/default_api.pyi200
-rw-r--r--python_openapi_client/fatcat_openapi_client/api_client.pyi31
-rw-r--r--python_openapi_client/fatcat_openapi_client/configuration.pyi48
-rw-r--r--python_openapi_client/fatcat_openapi_client/exceptions.pyi26
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/__init__.pyi35
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/changelog_entry.pyi29
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/container_auto_batch.pyi19
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/container_entity.pyi67
-rw-r--r--python_openapi_client/fatcat_openapi_client/rest.pyi26
12 files changed, 525 insertions, 0 deletions
diff --git a/python_openapi_client/fatcat_openapi_client/__init__.pyi b/python_openapi_client/fatcat_openapi_client/__init__.pyi
new file mode 100644
index 00000000..4ec6ad4c
--- /dev/null
+++ b/python_openapi_client/fatcat_openapi_client/__init__.pyi
@@ -0,0 +1,39 @@
+from fatcat_openapi_client.api.default_api import DefaultApi as DefaultApi
+from fatcat_openapi_client.api_client import ApiClient as ApiClient
+from fatcat_openapi_client.configuration import Configuration as Configuration
+from fatcat_openapi_client.exceptions import ApiException as ApiException, ApiKeyError as ApiKeyError, ApiTypeError as ApiTypeError, ApiValueError as ApiValueError, OpenApiException as OpenApiException
+from fatcat_openapi_client.models.auth_oidc import AuthOidc as AuthOidc
+from fatcat_openapi_client.models.auth_oidc_result import AuthOidcResult as AuthOidcResult
+from fatcat_openapi_client.models.auth_token_result import AuthTokenResult as AuthTokenResult
+from fatcat_openapi_client.models.changelog_entry import ChangelogEntry as ChangelogEntry
+from fatcat_openapi_client.models.container_auto_batch import ContainerAutoBatch as ContainerAutoBatch
+from fatcat_openapi_client.models.container_entity import ContainerEntity as ContainerEntity
+from fatcat_openapi_client.models.creator_auto_batch import CreatorAutoBatch as CreatorAutoBatch
+from fatcat_openapi_client.models.creator_entity import CreatorEntity as CreatorEntity
+from fatcat_openapi_client.models.editgroup import Editgroup as Editgroup
+from fatcat_openapi_client.models.editgroup_annotation import EditgroupAnnotation as EditgroupAnnotation
+from fatcat_openapi_client.models.editgroup_edits import EditgroupEdits as EditgroupEdits
+from fatcat_openapi_client.models.editor import Editor as Editor
+from fatcat_openapi_client.models.entity_edit import EntityEdit as EntityEdit
+from fatcat_openapi_client.models.entity_history_entry import EntityHistoryEntry as EntityHistoryEntry
+from fatcat_openapi_client.models.error_response import ErrorResponse as ErrorResponse
+from fatcat_openapi_client.models.file_auto_batch import FileAutoBatch as FileAutoBatch
+from fatcat_openapi_client.models.file_entity import FileEntity as FileEntity
+from fatcat_openapi_client.models.file_url import FileUrl as FileUrl
+from fatcat_openapi_client.models.fileset_auto_batch import FilesetAutoBatch as FilesetAutoBatch
+from fatcat_openapi_client.models.fileset_entity import FilesetEntity as FilesetEntity
+from fatcat_openapi_client.models.fileset_file import FilesetFile as FilesetFile
+from fatcat_openapi_client.models.fileset_url import FilesetUrl as FilesetUrl
+from fatcat_openapi_client.models.release_abstract import ReleaseAbstract as ReleaseAbstract
+from fatcat_openapi_client.models.release_auto_batch import ReleaseAutoBatch as ReleaseAutoBatch
+from fatcat_openapi_client.models.release_contrib import ReleaseContrib as ReleaseContrib
+from fatcat_openapi_client.models.release_entity import ReleaseEntity as ReleaseEntity
+from fatcat_openapi_client.models.release_ext_ids import ReleaseExtIds as ReleaseExtIds
+from fatcat_openapi_client.models.release_ref import ReleaseRef as ReleaseRef
+from fatcat_openapi_client.models.success import Success as Success
+from fatcat_openapi_client.models.webcapture_auto_batch import WebcaptureAutoBatch as WebcaptureAutoBatch
+from fatcat_openapi_client.models.webcapture_cdx_line import WebcaptureCdxLine as WebcaptureCdxLine
+from fatcat_openapi_client.models.webcapture_entity import WebcaptureEntity as WebcaptureEntity
+from fatcat_openapi_client.models.webcapture_url import WebcaptureUrl as WebcaptureUrl
+from fatcat_openapi_client.models.work_auto_batch import WorkAutoBatch as WorkAutoBatch
+from fatcat_openapi_client.models.work_entity import WorkEntity as WorkEntity
diff --git a/python_openapi_client/fatcat_openapi_client/__version__.pyi b/python_openapi_client/fatcat_openapi_client/__version__.pyi
new file mode 100644
index 00000000..4584d2d3
--- /dev/null
+++ b/python_openapi_client/fatcat_openapi_client/__version__.pyi
@@ -0,0 +1,4 @@
+from typing import Any
+
+VERSION: Any
+__version__: str
diff --git a/python_openapi_client/fatcat_openapi_client/api/__init__.pyi b/python_openapi_client/fatcat_openapi_client/api/__init__.pyi
new file mode 100644
index 00000000..540dc601
--- /dev/null
+++ b/python_openapi_client/fatcat_openapi_client/api/__init__.pyi
@@ -0,0 +1 @@
+from fatcat_openapi_client.api.default_api import DefaultApi as DefaultApi
diff --git a/python_openapi_client/fatcat_openapi_client/api/default_api.pyi b/python_openapi_client/fatcat_openapi_client/api/default_api.pyi
new file mode 100644
index 00000000..84c9c8bf
--- /dev/null
+++ b/python_openapi_client/fatcat_openapi_client/api/default_api.pyi
@@ -0,0 +1,200 @@
+from fatcat_openapi_client.api_client import ApiClient as ApiClient
+from fatcat_openapi_client.exceptions import ApiTypeError as ApiTypeError, ApiValueError as ApiValueError
+from fatcat_openapi_client import ReleaseEntity, FileEntity, FilesetEntity, WebcaptureEntity, CreatorEntity, ContainerEntity, WorkEntity, EntityEdit, ChangelogEntry, Editgroup, Editor, EditgroupAnnotation, Success
+from typing import Any, List
+
+class DefaultApi:
+ api_client: ApiClient
+ def __init__(self, api_client: ApiClient | None = ...) -> None: ...
+ def accept_editgroup(self, editgroup_id: str, **kwargs) -> Success: ...
+ def accept_editgroup_with_http_info(self, editgroup_id: str, **kwargs): ...
+ def auth_check(self, **kwargs) -> Success: ...
+ def auth_check_with_http_info(self, **kwargs): ...
+ def auth_oidc(self, oidc_params: AuthOidc, **kwargs) -> AuthOidcResult: ...
+ def auth_oidc_with_http_info(self, oidc_params: AuthOidc, **kwargs): ...
+ def create_auth_token(self, editor_id: str, **kwargs) -> AuthTokenResult: ...
+ def create_auth_token_with_http_info(self, editor_id: str, **kwargs): ...
+ def create_container(self, editgroup_id: str, entity: ContainerEntity, **kwargs) -> EntityEdit: ...
+ def create_container_with_http_info(self, editgroup_id: str, entity: ContainerEntity, **kwargs): ...
+ def create_container_auto_batch(self, auto_batch, **kwargs) -> Editgroup: ...
+ def create_container_auto_batch_with_http_info(self, auto_batch, **kwargs): ...
+ def create_creator(self, editgroup_id: str, entity: ContainerEntity, **kwargs) -> EntityEdit: ...
+ def create_creator_with_http_info(self, editgroup_id: str, entity: ContainerEntity, **kwargs): ...
+ def create_creator_auto_batch(self, auto_batch, **kwargs) -> Editgroup: ...
+ def create_creator_auto_batch_with_http_info(self, auto_batch, **kwargs): ...
+ def create_editgroup(self, editgroup, **kwargs) -> Editgroup: ...
+ def create_editgroup_with_http_info(self, editgroup, **kwargs): ...
+ def create_editgroup_annotation(self, editgroup_id: str, annotation: EditgroupAnnotation, **kwargs) -> EditgroupAnnotation: ...
+ def create_editgroup_annotation_with_http_info(self, editgroup_id: str, annotation, **kwargs): ...
+ def create_file(self, editgroup_id: str, entity: FileEntity, **kwargs) -> EntityEdit: ...
+ def create_file_with_http_info(self, editgroup_id: str, entity: FileEntity, **kwargs): ...
+ def create_file_auto_batch(self, auto_batch, **kwargs) -> Editgroup: ...
+ def create_file_auto_batch_with_http_info(self, auto_batch, **kwargs): ...
+ def create_fileset(self, editgroup_id: str, entity: FilesetEntity, **kwargs) -> EntityEdit: ...
+ def create_fileset_with_http_info(self, editgroup_id: str, entity: FilesetEntity, **kwargs): ...
+ def create_fileset_auto_batch(self, auto_batch, **kwargs) -> Editgroup: ...
+ def create_fileset_auto_batch_with_http_info(self, auto_batch, **kwargs): ...
+ def create_release(self, editgroup_id: str, entity: ReleaseEntity, **kwargs) -> EntityEdit: ...
+ def create_release_with_http_info(self, editgroup_id: str, entity: ReleaseEntity, **kwargs): ...
+ def create_release_auto_batch(self, auto_batch, **kwargs) -> Editgroup: ...
+ def create_release_auto_batch_with_http_info(self, auto_batch, **kwargs): ...
+ def create_webcapture(self, editgroup_id: str, entity: WebcaptureEntity, **kwargs) -> EntityEdit: ...
+ def create_webcapture_with_http_info(self, editgroup_id: str, entity: WebcaptureEntity, **kwargs): ...
+ def create_webcapture_auto_batch(self, auto_batch, **kwargs) -> Editgroup: ...
+ def create_webcapture_auto_batch_with_http_info(self, auto_batch, **kwargs): ...
+ def create_work(self, editgroup_id: str, entity: WorkEntity, **kwargs) -> EntityEdit: ...
+ def create_work_with_http_info(self, editgroup_id: str, entity: WorkEntity, **kwargs): ...
+ def create_work_auto_batch(self, auto_batch, **kwargs) -> Editgroup: ...
+ def create_work_auto_batch_with_http_info(self, auto_batch, **kwargs): ...
+ def delete_container(self, editgroup_id: str, ident: str, **kwargs) -> EntityEdit: ...
+ def delete_container_with_http_info(self, editgroup_id: str, ident: str, **kwargs): ...
+ def delete_container_edit(self, editgroup_id: str, edit_id: str, **kwargs) -> Success: ...
+ def delete_container_edit_with_http_info(self, editgroup_id: str, edit_id: str, **kwargs): ...
+ def delete_creator(self, editgroup_id: str, ident: str, **kwargs) -> EntityEdit: ...
+ def delete_creator_with_http_info(self, editgroup_id: str, ident: str, **kwargs): ...
+ def delete_creator_edit(self, editgroup_id: str, edit_id: str, **kwargs) -> Success: ...
+ def delete_creator_edit_with_http_info(self, editgroup_id: str, edit_id: str, **kwargs): ...
+ def delete_file(self, editgroup_id: str, ident: str, **kwargs) -> EntityEdit: ...
+ def delete_file_with_http_info(self, editgroup_id: str, ident: str, **kwargs): ...
+ def delete_file_edit(self, editgroup_id: str, edit_id: str, **kwargs) -> Success: ...
+ def delete_file_edit_with_http_info(self, editgroup_id: str, edit_id: str, **kwargs): ...
+ def delete_fileset(self, editgroup_id: str, ident: str, **kwargs) -> EntityEdit: ...
+ def delete_fileset_with_http_info(self, editgroup_id: str, ident: str, **kwargs): ...
+ def delete_fileset_edit(self, editgroup_id: str, edit_id: str, **kwargs) -> Success: ...
+ def delete_fileset_edit_with_http_info(self, editgroup_id: str, edit_id: str, **kwargs): ...
+ def delete_release(self, editgroup_id: str, ident: str, **kwargs) -> EntityEdit: ...
+ def delete_release_with_http_info(self, editgroup_id: str, ident: str, **kwargs): ...
+ def delete_release_edit(self, editgroup_id: str, edit_id: str, **kwargs) -> Success: ...
+ def delete_release_edit_with_http_info(self, editgroup_id: str, edit_id: str, **kwargs): ...
+ def delete_webcapture(self, editgroup_id: str, ident: str, **kwargs) -> EntityEdit: ...
+ def delete_webcapture_with_http_info(self, editgroup_id: str, ident: str, **kwargs): ...
+ def delete_webcapture_edit(self, editgroup_id: str, edit_id: str, **kwargs) -> Success: ...
+ def delete_webcapture_edit_with_http_info(self, editgroup_id: str, edit_id: str, **kwargs): ...
+ def delete_work(self, editgroup_id: str, ident: str, **kwargs) -> EntityEdit: ...
+ def delete_work_with_http_info(self, editgroup_id: str, ident: str, **kwargs): ...
+ def delete_work_edit(self, editgroup_id: str, edit_id: str, **kwargs) -> Success: ...
+ def delete_work_edit_with_http_info(self, editgroup_id: str, edit_id: str, **kwargs): ...
+ def get_changelog(self, **kwargs) -> List[ChangelogEntry]: ...
+ def get_changelog_with_http_info(self, **kwargs): ...
+ def get_changelog_entry(self, index, **kwargs) -> ChangelogEntry: ...
+ def get_changelog_entry_with_http_info(self, index, **kwargs): ...
+ def get_container(self, ident: str, **kwargs) -> ContainerEntity: ...
+ def get_container_with_http_info(self, ident: str, **kwargs): ...
+ def get_container_edit(self, edit_id: str, **kwargs) -> EntityEdit: ...
+ def get_container_edit_with_http_info(self, edit_id: str, **kwargs): ...
+ def get_container_history(self, ident: str, **kwargs) -> List[EntityHistoryEntry]: ...
+ def get_container_history_with_http_info(self, ident: str, **kwargs): ...
+ def get_container_redirects(self, ident: str, **kwargs) -> List[str]: ...
+ def get_container_redirects_with_http_info(self, ident: str, **kwargs): ...
+ def get_container_revision(self, rev_id: str, **kwargs) -> ContainerEntity: ...
+ def get_container_revision_with_http_info(self, rev_id: str, **kwargs): ...
+ def get_creator(self, ident: str, **kwargs) -> CreatorEntity: ...
+ def get_creator_with_http_info(self, ident: str, **kwargs): ...
+ def get_creator_edit(self, edit_id: str, **kwargs) -> EntityEdit: ...
+ def get_creator_edit_with_http_info(self, edit_id: str, **kwargs): ...
+ def get_creator_history(self, ident: str, **kwargs) -> List[EntityHistoryEntry]: ...
+ def get_creator_history_with_http_info(self, ident: str, **kwargs): ...
+ def get_creator_redirects(self, ident: str, **kwargs) -> List[str]: ...
+ def get_creator_redirects_with_http_info(self, ident: str, **kwargs): ...
+ def get_creator_releases(self, ident: str, **kwargs) -> List[ReleaseEntity]: ...
+ def get_creator_releases_with_http_info(self, ident: str, **kwargs): ...
+ def get_creator_revision(self, rev_id: str, **kwargs) -> CreatorEntity: ...
+ def get_creator_revision_with_http_info(self, rev_id: str, **kwargs): ...
+ def get_editgroup(self, editgroup_id: str, **kwargs) -> Editgroup: ...
+ def get_editgroup_with_http_info(self, editgroup_id: str, **kwargs): ...
+ def get_editgroup_annotations(self, editgroup_id: str, **kwargs) -> List[EditgroupAnnotation]: ...
+ def get_editgroup_annotations_with_http_info(self, editgroup_id: str, **kwargs): ...
+ def get_editgroups_reviewable(self, **kwargs) -> List[Editgroup]: ...
+ def get_editgroups_reviewable_with_http_info(self, **kwargs): ...
+ def get_editor(self, editor_id: str, **kwargs) -> Editor: ...
+ def get_editor_with_http_info(self, editor_id: str, **kwargs): ...
+ def get_editor_annotations(self, editor_id: str, **kwargs) -> List[EditgroupAnnotation]: ...
+ def get_editor_annotations_with_http_info(self, editor_id: str, **kwargs): ...
+ def get_editor_editgroups(self, editor_id: str, **kwargs) -> List[Editgroup]: ...
+ def get_editor_editgroups_with_http_info(self, editor_id: str, **kwargs): ...
+ def get_file(self, ident: str, **kwargs) -> FileEntity: ...
+ def get_file_with_http_info(self, ident: str, **kwargs): ...
+ def get_file_edit(self, edit_id: str, **kwargs) -> EntityEdit: ...
+ def get_file_edit_with_http_info(self, edit_id: str, **kwargs): ...
+ def get_file_history(self, ident: str, **kwargs) -> List[EntityHistoryEntry]: ...
+ def get_file_history_with_http_info(self, ident: str, **kwargs): ...
+ def get_file_redirects(self, ident: str, **kwargs) -> List[str]: ...
+ def get_file_redirects_with_http_info(self, ident: str, **kwargs): ...
+ def get_file_revision(self, rev_id: str, **kwargs) -> FileEntity: ...
+ def get_file_revision_with_http_info(self, rev_id: str, **kwargs): ...
+ def get_fileset(self, ident: str, **kwargs) -> FilesetEntity: ...
+ def get_fileset_with_http_info(self, ident: str, **kwargs): ...
+ def get_fileset_edit(self, edit_id: str, **kwargs) -> EntityEdit: ...
+ def get_fileset_edit_with_http_info(self, edit_id: str, **kwargs): ...
+ def get_fileset_history(self, ident: str, **kwargs) -> List[EntityHistoryEntry]: ...
+ def get_fileset_history_with_http_info(self, ident: str, **kwargs): ...
+ def get_fileset_redirects(self, ident: str, **kwargs) -> List[str]: ...
+ def get_fileset_redirects_with_http_info(self, ident: str, **kwargs): ...
+ def get_fileset_revision(self, rev_id: str, **kwargs) -> FilesetEntity: ...
+ def get_fileset_revision_with_http_info(self, rev_id: str, **kwargs): ...
+ def get_release(self, ident: str, **kwargs) -> ReleaseEntity: ...
+ def get_release_with_http_info(self, ident: str, **kwargs): ...
+ def get_release_edit(self, edit_id: str, **kwargs) -> EntityEdit: ...
+ def get_release_edit_with_http_info(self, edit_id: str, **kwargs): ...
+ def get_release_files(self, ident: str, **kwargs) -> List[FileEntity]: ...
+ def get_release_files_with_http_info(self, ident: str, **kwargs): ...
+ def get_release_filesets(self, ident: str, **kwargs) -> List[FilesetEntity]: ...
+ def get_release_filesets_with_http_info(self, ident: str, **kwargs): ...
+ def get_release_history(self, ident: str, **kwargs) -> List[EntityHistoryEntry]: ...
+ def get_release_history_with_http_info(self, ident: str, **kwargs): ...
+ def get_release_redirects(self, ident: str, **kwargs) -> List[str]: ...
+ def get_release_redirects_with_http_info(self, ident: str, **kwargs): ...
+ def get_release_revision(self, rev_id: str, **kwargs) -> ReleaseEntity: ...
+ def get_release_revision_with_http_info(self, rev_id: str, **kwargs): ...
+ def get_release_webcaptures(self, ident: str, **kwargs) -> List[WebcaptureEntity]: ...
+ def get_release_webcaptures_with_http_info(self, ident: str, **kwargs): ...
+ def get_webcapture(self, ident: str, **kwargs) -> WebcaptureEntity: ...
+ def get_webcapture_with_http_info(self, ident: str, **kwargs): ...
+ def get_webcapture_edit(self, edit_id: str, **kwargs) -> EntityEdit: ...
+ def get_webcapture_edit_with_http_info(self, edit_id: str, **kwargs): ...
+ def get_webcapture_history(self, ident: str, **kwargs) -> List[EntityHistoryEntry]: ...
+ def get_webcapture_history_with_http_info(self, ident: str, **kwargs): ...
+ def get_webcapture_redirects(self, ident: str, **kwargs) -> List[str]: ...
+ def get_webcapture_redirects_with_http_info(self, ident: str, **kwargs): ...
+ def get_webcapture_revision(self, rev_id: str, **kwargs) -> WebcaptureEntity: ...
+ def get_webcapture_revision_with_http_info(self, rev_id: str, **kwargs): ...
+ def get_work(self, ident: str, **kwargs) -> WorkEntity: ...
+ def get_work_with_http_info(self, ident: str, **kwargs): ...
+ def get_work_edit(self, edit_id: str, **kwargs) -> EntityEdit: ...
+ def get_work_edit_with_http_info(self, edit_id: str, **kwargs): ...
+ def get_work_history(self, ident: str, **kwargs) -> List[EntityHistoryEntry]: ...
+ def get_work_history_with_http_info(self, ident: str, **kwargs): ...
+ def get_work_redirects(self, ident: str, **kwargs) -> List[str]: ...
+ def get_work_redirects_with_http_info(self, ident: str, **kwargs): ...
+ def get_work_releases(self, ident: str, **kwargs) -> List[ReleaseEntity]: ...
+ def get_work_releases_with_http_info(self, ident: str, **kwargs): ...
+ def get_work_revision(self, rev_id: str, **kwargs) -> WorkEntity: ...
+ def get_work_revision_with_http_info(self, rev_id: str, **kwargs): ...
+ def lookup_container(self, **kwargs) -> ContainerEntity: ...
+ def lookup_container_with_http_info(self, **kwargs): ...
+ def lookup_creator(self, **kwargs) -> CreatorEntity: ...
+ def lookup_creator_with_http_info(self, **kwargs): ...
+ def lookup_editor(self, **kwargs) -> Editor: ...
+ def lookup_editor_with_http_info(self, **kwargs): ...
+ def lookup_file(self, **kwargs) -> FileEntity: ...
+ def lookup_file_with_http_info(self, **kwargs): ...
+ def lookup_release(self, **kwargs) -> ReleaseEntity: ...
+ def lookup_release_with_http_info(self, **kwargs): ...
+ def update_container(self, editgroup_id: str, ident: str, entity: ContainerEntity, **kwargs) -> EntityEdit: ...
+ def update_container_with_http_info(self, editgroup_id: str, ident: str, entity: ContainerEntity, **kwargs): ...
+ def update_creator(self, editgroup_id: str, ident: str, entity: CreatorEntity, **kwargs) -> EntityEdit: ...
+ def update_creator_with_http_info(self, editgroup_id: str, ident: str, entity: CreatorEntity, **kwargs): ...
+ def update_editgroup(self, editgroup_id: str, editgroup: Editgroup, **kwargs) -> Editgroup: ...
+ def update_editgroup_with_http_info(self, editgroup_id: str, editgroup: Editgroup, **kwargs): ...
+ def update_editor(self, editor_id: str, editor: Editor, **kwargs) -> Editor: ...
+ def update_editor_with_http_info(self, editor_id: str, editor: Editor, **kwargs): ...
+ def update_file(self, editgroup_id: str, ident: str, entity: FileEntity, **kwargs) -> EntityEdit: ...
+ def update_file_with_http_info(self, editgroup_id: str, ident: str, entity: FileEntity, **kwargs): ...
+ def update_fileset(self, editgroup_id: str, ident: str, entity: FilesetEntity, **kwargs) -> EntityEdit: ...
+ def update_fileset_with_http_info(self, editgroup_id: str, ident: str, entity: FilesetEntity, **kwargs): ...
+ def update_release(self, editgroup_id: str, ident: str, entity: ReleaseEntity, **kwargs) -> EntityEdit: ...
+ def update_release_with_http_info(self, editgroup_id: str, ident: str, entity: ReleaseEntity, **kwargs): ...
+ def update_webcapture(self, editgroup_id: str, ident: str, entity: WebcaptureEntity, **kwargs) -> EntityEdit: ...
+ def update_webcapture_with_http_info(self, editgroup_id: str, ident: str, entity: WebcaptureEntity, **kwargs): ...
+ def update_work(self, editgroup_id: str, ident: str, entity: WorkEntity, **kwargs) -> EntityEdit: ...
+ def update_work_with_http_info(self, editgroup_id: str, ident: str, entity: WorkEntity, **kwargs): ...
diff --git a/python_openapi_client/fatcat_openapi_client/api_client.pyi b/python_openapi_client/fatcat_openapi_client/api_client.pyi
new file mode 100644
index 00000000..194e9997
--- /dev/null
+++ b/python_openapi_client/fatcat_openapi_client/api_client.pyi
@@ -0,0 +1,31 @@
+from fatcat_openapi_client import rest as rest
+from fatcat_openapi_client.configuration import Configuration as Configuration
+from fatcat_openapi_client.exceptions import ApiValueError as ApiValueError
+from typing import Any
+
+class ApiClient:
+ PRIMITIVE_TYPES: Any
+ NATIVE_TYPES_MAPPING: Any
+ configuration: Any
+ pool_threads: Any
+ rest_client: Any
+ default_headers: Any
+ cookie: Any
+ def __init__(self, configuration: Configuration | None = ..., header_name: Any | None = ..., header_value: Any | None = ..., cookie: Any | None = ..., pool_threads: int = ...) -> None: ...
+ def __del__(self) -> None: ...
+ @property
+ def pool(self): ...
+ @property
+ def user_agent(self): ...
+ @user_agent.setter
+ def user_agent(self, value) -> None: ...
+ def set_default_header(self, header_name, header_value) -> None: ...
+ def sanitize_for_serialization(self, obj): ...
+ def deserialize(self, response, response_type): ...
+ def call_api(self, resource_path, method, path_params: Any | None = ..., query_params: Any | None = ..., header_params: Any | None = ..., body: Any | None = ..., post_params: Any | None = ..., files: Any | None = ..., response_type: Any | None = ..., auth_settings: Any | None = ..., async_req: Any | None = ..., _return_http_data_only: Any | None = ..., collection_formats: Any | None = ..., _preload_content: bool = ..., _request_timeout: Any | None = ..., _host: Any | None = ...): ...
+ def request(self, method, url, query_params: Any | None = ..., headers: Any | None = ..., post_params: Any | None = ..., body: Any | None = ..., _preload_content: bool = ..., _request_timeout: Any | None = ...): ...
+ def parameters_to_tuples(self, params, collection_formats): ...
+ def files_parameters(self, files: Any | None = ...): ...
+ def select_header_accept(self, accepts): ...
+ def select_header_content_type(self, content_types): ...
+ def update_params_for_auth(self, headers, querys, auth_settings) -> None: ...
diff --git a/python_openapi_client/fatcat_openapi_client/configuration.pyi b/python_openapi_client/fatcat_openapi_client/configuration.pyi
new file mode 100644
index 00000000..f1be8254
--- /dev/null
+++ b/python_openapi_client/fatcat_openapi_client/configuration.pyi
@@ -0,0 +1,48 @@
+from typing import Any
+
+class TypeWithDefault(type):
+ def __init__(cls, name, bases, dct) -> None: ...
+ def __call__(cls, **kwargs): ...
+ def set_default(cls, default) -> None: ...
+
+class Configuration:
+ host: str | None
+ temp_folder_path: Any
+ api_key: str | None
+ api_key_prefix: Any
+ refresh_api_key_hook: Any
+ username: Any
+ password: Any
+ logger: Any
+ logger_stream_handler: Any
+ logger_file_handler: Any
+ verify_ssl: bool
+ ssl_ca_cert: Any
+ cert_file: Any
+ key_file: Any
+ assert_hostname: Any
+ connection_pool_maxsize: Any
+ proxy: Any
+ proxy_headers: Any
+ safe_chars_for_path_param: str
+ retries: Any
+ def __init__(self, host: str = ..., username: str = ..., password: str = ...) -> None: ...
+ @property
+ def logger_file(self): ...
+ @logger_file.setter
+ def logger_file(self, value) -> None: ...
+ @property
+ def debug(self): ...
+ @debug.setter
+ def debug(self, value) -> None: ...
+ @property
+ def logger_format(self): ...
+ logger_formatter: Any
+ @logger_format.setter
+ def logger_format(self, value) -> None: ...
+ def get_api_key_with_prefix(self, identifier): ...
+ def get_basic_auth_token(self): ...
+ def auth_settings(self): ...
+ def to_debug_report(self): ...
+ def get_host_settings(self): ...
+ def get_host_from_settings(self, index, variables=...): ...
diff --git a/python_openapi_client/fatcat_openapi_client/exceptions.pyi b/python_openapi_client/fatcat_openapi_client/exceptions.pyi
new file mode 100644
index 00000000..93d1afbd
--- /dev/null
+++ b/python_openapi_client/fatcat_openapi_client/exceptions.pyi
@@ -0,0 +1,26 @@
+from typing import Any
+
+class OpenApiException(Exception): ...
+
+class ApiTypeError(OpenApiException, TypeError):
+ path_to_item: Any
+ valid_classes: Any
+ key_type: Any
+ def __init__(self, msg: str, path_to_item: Any | None = ..., valid_classes: Any | None = ..., key_type: Any | None = ...) -> None: ...
+
+class ApiValueError(OpenApiException, ValueError):
+ path_to_item: Any
+ def __init__(self, msg: str, path_to_item: Any | None = ...) -> None: ...
+
+class ApiKeyError(OpenApiException, KeyError):
+ path_to_item: Any
+ def __init__(self, msg: str, path_to_item: Any | None = ...) -> None: ...
+
+class ApiException(OpenApiException):
+ status: int
+ reason: str
+ body: Any
+ headers: Any
+ def __init__(self, status: Any | None = ..., reason: Any | None = ..., http_resp: Any | None = ...) -> None: ...
+
+def render_path(path_to_item): ...
diff --git a/python_openapi_client/fatcat_openapi_client/models/__init__.pyi b/python_openapi_client/fatcat_openapi_client/models/__init__.pyi
new file mode 100644
index 00000000..86853dc6
--- /dev/null
+++ b/python_openapi_client/fatcat_openapi_client/models/__init__.pyi
@@ -0,0 +1,35 @@
+from fatcat_openapi_client.models.auth_oidc import AuthOidc as AuthOidc
+from fatcat_openapi_client.models.auth_oidc_result import AuthOidcResult as AuthOidcResult
+from fatcat_openapi_client.models.auth_token_result import AuthTokenResult as AuthTokenResult
+from fatcat_openapi_client.models.changelog_entry import ChangelogEntry as ChangelogEntry
+from fatcat_openapi_client.models.container_auto_batch import ContainerAutoBatch as ContainerAutoBatch
+from fatcat_openapi_client.models.container_entity import ContainerEntity as ContainerEntity
+from fatcat_openapi_client.models.creator_auto_batch import CreatorAutoBatch as CreatorAutoBatch
+from fatcat_openapi_client.models.creator_entity import CreatorEntity as CreatorEntity
+from fatcat_openapi_client.models.editgroup import Editgroup as Editgroup
+from fatcat_openapi_client.models.editgroup_annotation import EditgroupAnnotation as EditgroupAnnotation
+from fatcat_openapi_client.models.editgroup_edits import EditgroupEdits as EditgroupEdits
+from fatcat_openapi_client.models.editor import Editor as Editor
+from fatcat_openapi_client.models.entity_edit import EntityEdit as EntityEdit
+from fatcat_openapi_client.models.entity_history_entry import EntityHistoryEntry as EntityHistoryEntry
+from fatcat_openapi_client.models.error_response import ErrorResponse as ErrorResponse
+from fatcat_openapi_client.models.file_auto_batch import FileAutoBatch as FileAutoBatch
+from fatcat_openapi_client.models.file_entity import FileEntity as FileEntity
+from fatcat_openapi_client.models.file_url import FileUrl as FileUrl
+from fatcat_openapi_client.models.fileset_auto_batch import FilesetAutoBatch as FilesetAutoBatch
+from fatcat_openapi_client.models.fileset_entity import FilesetEntity as FilesetEntity
+from fatcat_openapi_client.models.fileset_file import FilesetFile as FilesetFile
+from fatcat_openapi_client.models.fileset_url import FilesetUrl as FilesetUrl
+from fatcat_openapi_client.models.release_abstract import ReleaseAbstract as ReleaseAbstract
+from fatcat_openapi_client.models.release_auto_batch import ReleaseAutoBatch as ReleaseAutoBatch
+from fatcat_openapi_client.models.release_contrib import ReleaseContrib as ReleaseContrib
+from fatcat_openapi_client.models.release_entity import ReleaseEntity as ReleaseEntity
+from fatcat_openapi_client.models.release_ext_ids import ReleaseExtIds as ReleaseExtIds
+from fatcat_openapi_client.models.release_ref import ReleaseRef as ReleaseRef
+from fatcat_openapi_client.models.success import Success as Success
+from fatcat_openapi_client.models.webcapture_auto_batch import WebcaptureAutoBatch as WebcaptureAutoBatch
+from fatcat_openapi_client.models.webcapture_cdx_line import WebcaptureCdxLine as WebcaptureCdxLine
+from fatcat_openapi_client.models.webcapture_entity import WebcaptureEntity as WebcaptureEntity
+from fatcat_openapi_client.models.webcapture_url import WebcaptureUrl as WebcaptureUrl
+from fatcat_openapi_client.models.work_auto_batch import WorkAutoBatch as WorkAutoBatch
+from fatcat_openapi_client.models.work_entity import WorkEntity as WorkEntity
diff --git a/python_openapi_client/fatcat_openapi_client/models/changelog_entry.pyi b/python_openapi_client/fatcat_openapi_client/models/changelog_entry.pyi
new file mode 100644
index 00000000..285590d0
--- /dev/null
+++ b/python_openapi_client/fatcat_openapi_client/models/changelog_entry.pyi
@@ -0,0 +1,29 @@
+from typing import Any
+import datetime
+from fatcat_openapi_client import Editgroup
+
+class ChangelogEntry:
+ openapi_types: Any
+ attribute_map: Any
+ discriminator: Any
+ def __init__(self, index: Any | None = ..., editgroup_id: Any | None = ..., timestamp: Any | None = ..., editgroup: Any | None = ...) -> None: ...
+ @property
+ def index(self) -> int: ...
+ @index.setter
+ def index(self, index: int) -> None: ...
+ @property
+ def editgroup_id(self) -> str: ...
+ @editgroup_id.setter
+ def editgroup_id(self, editgroup_id: str) -> None: ...
+ @property
+ def timestamp(self) -> datetime.datetime: ...
+ @timestamp.setter
+ def timestamp(self, timestamp: datetime.datetime) -> None: ...
+ @property
+ def editgroup(self) -> Editgroup: ...
+ @editgroup.setter
+ def editgroup(self, editgroup: Editgroup) -> None: ...
+ def to_dict(self): ...
+ def to_str(self): ...
+ def __eq__(self, other): ...
+ def __ne__(self, other): ...
diff --git a/python_openapi_client/fatcat_openapi_client/models/container_auto_batch.pyi b/python_openapi_client/fatcat_openapi_client/models/container_auto_batch.pyi
new file mode 100644
index 00000000..bb197215
--- /dev/null
+++ b/python_openapi_client/fatcat_openapi_client/models/container_auto_batch.pyi
@@ -0,0 +1,19 @@
+from typing import Any
+
+class ContainerAutoBatch:
+ openapi_types: Any
+ attribute_map: Any
+ discriminator: Any
+ def __init__(self, editgroup: Editgroup = ..., entity_list: List[ContainerEntity] = ...) -> None: ...
+ @property
+ def editgroup(self) -> Editgroup: ...
+ @editgroup.setter
+ def editgroup(self, editgroup: Editgroup) -> None: ...
+ @property
+ def entity_list(self) -> List[ContainerEntity]: ...
+ @entity_list.setter
+ def entity_list(self, entity_list: List[ContainerEntity]) -> None: ...
+ def to_dict(self): ...
+ def to_str(self): ...
+ def __eq__(self, other): ...
+ def __ne__(self, other): ...
diff --git a/python_openapi_client/fatcat_openapi_client/models/container_entity.pyi b/python_openapi_client/fatcat_openapi_client/models/container_entity.pyi
new file mode 100644
index 00000000..a556ec4d
--- /dev/null
+++ b/python_openapi_client/fatcat_openapi_client/models/container_entity.pyi
@@ -0,0 +1,67 @@
+from typing import Any, Optional, Dict
+
+class ContainerEntity:
+ openapi_types: Any
+ attribute_map: Any
+ discriminator: Any
+ def __init__(self, state: Any | None = ..., ident: Any | None = ..., revision: Any | None = ..., redirect: Any | None = ..., extra: Any | None = ..., edit_extra: Any | None = ..., name: Any | None = ..., container_type: Any | None = ..., publication_status: Any | None = ..., publisher: Any | None = ..., issnl: Any | None = ..., issne: Any | None = ..., issnp: Any | None = ..., wikidata_qid: Any | None = ...) -> None: ...
+ @property
+ def state(self) -> Optional[str]: ...
+ @state.setter
+ def state(self, state: Optional[str]) -> None: ...
+ @property
+ def ident(self) -> Optional[str]: ...
+ @ident.setter
+ def ident(self, ident: Optional[str]) -> None: ...
+ @property
+ def revision(self) -> Optional[str]: ...
+ @revision.setter
+ def revision(self, revision: Optional[str]) -> None: ...
+ @property
+ def redirect(self) -> Optional[str]: ...
+ @redirect.setter
+ def redirect(self, redirect: Optional[str]) -> None: ...
+ @property
+ def extra(self) -> Optional[Dict[str, Any]]: ...
+ @extra.setter
+ def extra(self, extra: Optional[Dict[str, Any]]) -> None: ...
+ @property
+ def edit_extra(self) -> Optional[Dict[str, Any]]: ...
+ @edit_extra.setter
+ def edit_extra(self, edit_extra: Optional[Dict[str, Any]]) -> None: ...
+ @property
+ def name(self) -> Optional[str]: ...
+ @name.setter
+ def name(self, name: Optional[str]) -> None: ...
+ @property
+ def container_type(self) -> Optional[str]: ...
+ @container_type.setter
+ def container_type(self, container_type: Optional[str]) -> None: ...
+ @property
+ def publication_status(self) -> Optional[str]: ...
+ @publication_status.setter
+ def publication_status(self, publication_status: Optional[str]) -> None: ...
+ @property
+ def publisher(self) -> Optional[str]: ...
+ @publisher.setter
+ def publisher(self, publisher: Optional[str]) -> None: ...
+ @property
+ def issnl(self) -> Optional[str]: ...
+ @issnl.setter
+ def issnl(self, issnl: Optional[str]) -> None: ...
+ @property
+ def issne(self) -> Optional[str]: ...
+ @issne.setter
+ def issne(self, issne: Optional[str]) -> None: ...
+ @property
+ def issnp(self) -> Optional[str]: ...
+ @issnp.setter
+ def issnp(self, issnp: Optional[str]) -> None: ...
+ @property
+ def wikidata_qid(self) -> Optional[str]: ...
+ @wikidata_qid.setter
+ def wikidata_qid(self, wikidata_qid: Optional[str]) -> None: ...
+ def to_dict(self): ...
+ def to_str(self): ...
+ def __eq__(self, other): ...
+ def __ne__(self, other): ...
diff --git a/python_openapi_client/fatcat_openapi_client/rest.pyi b/python_openapi_client/fatcat_openapi_client/rest.pyi
new file mode 100644
index 00000000..458fce15
--- /dev/null
+++ b/python_openapi_client/fatcat_openapi_client/rest.pyi
@@ -0,0 +1,26 @@
+import io
+from fatcat_openapi_client.exceptions import ApiException as ApiException, ApiValueError as ApiValueError
+from typing import Any
+
+logger: Any
+
+class RESTResponse(io.IOBase):
+ urllib3_response: Any
+ status: Any
+ reason: Any
+ data: Any
+ def __init__(self, resp) -> None: ...
+ def getheaders(self): ...
+ def getheader(self, name, default: Any | None = ...): ...
+
+class RESTClientObject:
+ pool_manager: Any
+ def __init__(self, configuration, pools_size: int = ..., maxsize: Any | None = ...) -> None: ...
+ def request(self, method, url, query_params: Any | None = ..., headers: Any | None = ..., body: Any | None = ..., post_params: Any | None = ..., _preload_content: bool = ..., _request_timeout: Any | None = ...): ...
+ def GET(self, url, headers: Any | None = ..., query_params: Any | None = ..., _preload_content: bool = ..., _request_timeout: Any | None = ...): ...
+ def HEAD(self, url, headers: Any | None = ..., query_params: Any | None = ..., _preload_content: bool = ..., _request_timeout: Any | None = ...): ...
+ def OPTIONS(self, url, headers: Any | None = ..., query_params: Any | None = ..., post_params: Any | None = ..., body: Any | None = ..., _preload_content: bool = ..., _request_timeout: Any | None = ...): ...
+ def DELETE(self, url, headers: Any | None = ..., query_params: Any | None = ..., body: Any | None = ..., _preload_content: bool = ..., _request_timeout: Any | None = ...): ...
+ def POST(self, url, headers: Any | None = ..., query_params: Any | None = ..., post_params: Any | None = ..., body: Any | None = ..., _preload_content: bool = ..., _request_timeout: Any | None = ...): ...
+ def PUT(self, url, headers: Any | None = ..., query_params: Any | None = ..., post_params: Any | None = ..., body: Any | None = ..., _preload_content: bool = ..., _request_timeout: Any | None = ...): ...
+ def PATCH(self, url, headers: Any | None = ..., query_params: Any | None = ..., post_params: Any | None = ..., body: Any | None = ..., _preload_content: bool = ..., _request_timeout: Any | None = ...): ...