diff --git a/.devcontainer/README.md b/.devcontainer/README.md index 97e0506..78056b0 100644 --- a/.devcontainer/README.md +++ b/.devcontainer/README.md @@ -1,4 +1,9 @@ +
+ +
+
+ > **Remember to shutdown a GitHub Codespace when it is not in use!** # Dev Containers Quick Start diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 7b837f6..f5d0cfc 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -3,15 +3,18 @@ id: 2c1d440e-25e4-46e2-a435-ebd1f72a7373 management: docChecksum: 751bbee351db5354325a9ef968014e0d docVersion: 0.0.1 - speakeasyVersion: 1.335.2 - generationVersion: 2.372.3 - releaseVersion: 0.0.1 - configChecksum: 146d1ec1460e43d80975a87764babb15 + speakeasyVersion: 1.337.1 + generationVersion: 2.373.2 + releaseVersion: 0.0.2 + configChecksum: 9cb0ea095a0bc55ad805a566cde61f4d + repoURL: https://github.com/comfy-deploy/comfy-deploy-python.git + installationURL: https://github.com/comfy-deploy/comfy-deploy-python.git + published: true features: python: additionalDependencies: 0.1.0 constsAndDefaults: 0.1.3 - core: 4.8.1 + core: 4.8.2 devContainers: 2.86.0 flattening: 2.81.1 globalSecurity: 2.83.5 @@ -224,3 +227,4 @@ generatedFiles: - src/comfydeploy/_hooks/sdkhooks.py - src/comfydeploy/_hooks/types.py - src/comfydeploy/_hooks/__init__.py + - CONTRIBUTING.md diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index e173e94..6e45930 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -15,7 +15,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: false python: - version: 0.0.1 + version: 0.0.2 additionalDependencies: dependencies: {} extraDependencies: diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 54002ae..1906e61 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,20 +1,22 @@ -speakeasyVersion: 1.335.2 +speakeasyVersion: 1.337.1 sources: comfydeploy-api: sourceNamespace: comfydeploy-api - sourceRevisionDigest: sha256:9de04a7a79c20e6734a6f6a554ad832ef07d8d0e10e0b0f4f2bd5d6a3c3a2440 - sourceBlobDigest: sha256:16bb126ace5178a46f34a6530b3983db437d0652b4e44a0077d730f801d83884 + sourceRevisionDigest: sha256:539371fe639afc48d0ba3b481fa816b0801da03005403911367c36eae3da6499 + sourceBlobDigest: sha256:41ad645015efba33f017ee3f6096c84d52092d6397a51e4c384f5f1b1da6bbbb tags: - latest + - main targets: comfy-deploy: source: comfydeploy-api sourceNamespace: comfydeploy-api - sourceRevisionDigest: sha256:9de04a7a79c20e6734a6f6a554ad832ef07d8d0e10e0b0f4f2bd5d6a3c3a2440 - sourceBlobDigest: sha256:16bb126ace5178a46f34a6530b3983db437d0652b4e44a0077d730f801d83884 - outLocation: /Users/bennykok/Documents/GitHub/comfy-deploy-python + sourceRevisionDigest: sha256:539371fe639afc48d0ba3b481fa816b0801da03005403911367c36eae3da6499 + sourceBlobDigest: sha256:41ad645015efba33f017ee3f6096c84d52092d6397a51e4c384f5f1b1da6bbbb + outLocation: /github/workspace/repo workflow: workflowVersion: 1.0.0 + speakeasyVersion: latest sources: comfydeploy-api: inputs: @@ -25,3 +27,6 @@ workflow: comfy-deploy: target: python source: comfydeploy-api + publish: + pypi: + token: $pypi_token diff --git a/.speakeasy/workflow.yaml b/.speakeasy/workflow.yaml index fa38036..6fead12 100644 --- a/.speakeasy/workflow.yaml +++ b/.speakeasy/workflow.yaml @@ -1,4 +1,5 @@ workflowVersion: 1.0.0 +speakeasyVersion: latest sources: comfydeploy-api: inputs: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..d585717 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,26 @@ +# Contributing to This Repository + +Thank you for your interest in contributing to this repository. Please note that this repository contains generated code. As such, we do not accept direct changes or pull requests. Instead, we encourage you to follow the guidelines below to report issues and suggest improvements. + +## How to Report Issues + +If you encounter any bugs or have suggestions for improvements, please open an issue on GitHub. When reporting an issue, please provide as much detail as possible to help us reproduce the problem. This includes: + +- A clear and descriptive title +- Steps to reproduce the issue +- Expected and actual behavior +- Any relevant logs, screenshots, or error messages +- Information about your environment (e.g., operating system, software versions) + - For example can be collected using the `npx envinfo` command from your terminal if you have Node.js installed + +## Issue Triage and Upstream Fixes + +We will review and triage issues as quickly as possible. Our goal is to address bugs and incorporate improvements in the upstream source code. Fixes will be included in the next generation of the generated code. + +## Contact + +If you have any questions or need further assistance, please feel free to reach out by opening an issue. + +Thank you for your understanding and cooperation! + +The Maintainers diff --git a/README.md b/README.md index 49c9b6a..0612058 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ It has been generated successfully based on your OpenAPI spec. However, it is no ## SDK Installation ```bash -pip install git+.git +pip install comfydeploy ``` diff --git a/RELEASES.md b/RELEASES.md new file mode 100644 index 0000000..b894c84 --- /dev/null +++ b/RELEASES.md @@ -0,0 +1,11 @@ + + +## 2024-07-16 21:56:31 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.337.1 (2.373.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.0.2] . +### Releases +- [PyPI v0.0.2] https://pypi.org/project/comfydeploy/0.0.2 - . \ No newline at end of file diff --git a/setup.py b/setup.py index 743bf3e..73e5432 100644 --- a/setup.py +++ b/setup.py @@ -1,18 +1,28 @@ """Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" import setuptools +import re try: with open('README.md', 'r') as fh: long_description = fh.read() + GITHUB_URL = 'https://github.com/comfy-deploy/comfy-deploy-python.git' + GITHUB_URL = GITHUB_URL[: -len('.git')] if GITHUB_URL.endswith('.git') else GITHUB_URL + # links on PyPI should have absolute URLs + long_description = re.sub( + r'(\[[^\]]+\]\()((?!https?:)[^\)]+)(\))', + lambda m: m.group(1) + GITHUB_URL + '/blob/master/' + m.group(2) + m.group(3), + long_description, + ) except FileNotFoundError: long_description = '' setuptools.setup( name='comfydeploy', - version='0.0.1', + version='0.0.2', author='Speakeasy', description='Python Client SDK Generated by Speakeasy', + url='https://github.com/comfy-deploy/comfy-deploy-python.git', long_description=long_description, long_description_content_type='text/markdown', packages=setuptools.find_packages(where='src'), diff --git a/src/comfydeploy/sdkconfiguration.py b/src/comfydeploy/sdkconfiguration.py index 272dd73..93d657c 100644 --- a/src/comfydeploy/sdkconfiguration.py +++ b/src/comfydeploy/sdkconfiguration.py @@ -23,9 +23,9 @@ class SDKConfiguration: server_idx: Optional[int] = 0 language: str = 'python' openapi_doc_version: str = '0.0.1' - sdk_version: str = '0.0.1' - gen_version: str = '2.372.3' - user_agent: str = 'speakeasy-sdk/python 0.0.1 2.372.3 0.0.1 comfydeploy' + sdk_version: str = '0.0.2' + gen_version: str = '2.373.2' + user_agent: str = 'speakeasy-sdk/python 0.0.2 2.373.2 0.0.1 comfydeploy' retry_config: Optional[RetryConfig] = None def __post_init__(self):