diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml new file mode 100644 index 0000000..9d73576 --- /dev/null +++ b/.github/workflows/publish-pypi.yml @@ -0,0 +1,31 @@ +# This workflow is triggered when a GitHub release is created. +# It can also be run manually to re-publish to PyPI in case it failed for some reason. +# You can run this workflow by navigating to https://www.github.com/EvickaStudio/fireapi-v2/actions/workflows/publish-pypi.yml +name: Publish PyPI +on: + workflow_dispatch: + + release: + types: [published] + +jobs: + publish: + name: publish + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Install Rye + run: | + curl -sSf https://rye.astral.sh/get | bash + echo "$HOME/.rye/shims" >> $GITHUB_PATH + env: + RYE_VERSION: '0.35.0' + RYE_INSTALL_OPTION: '--yes' + + - name: Publish to PyPI + run: | + bash ./bin/publish-pypi + env: + PYPI_TOKEN: ${{ secrets.FIREAPI_V2_PYPI_TOKEN || secrets.PYPI_TOKEN }} diff --git a/.github/workflows/release-doctor.yml b/.github/workflows/release-doctor.yml new file mode 100644 index 0000000..e2a1c45 --- /dev/null +++ b/.github/workflows/release-doctor.yml @@ -0,0 +1,21 @@ +name: Release Doctor +on: + pull_request: + branches: + - main + workflow_dispatch: + +jobs: + release_doctor: + name: release doctor + runs-on: ubuntu-latest + if: github.repository == 'EvickaStudio/fireapi-v2' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next') + + steps: + - uses: actions/checkout@v4 + + - name: Check release environment + run: | + bash ./bin/check-release-environment + env: + PYPI_TOKEN: ${{ secrets.FIREAPI_V2_PYPI_TOKEN || secrets.PYPI_TOKEN }} diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..55f722d --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "0.0.1-alpha.1" +} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..9456646 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,9 @@ +# Changelog + +## 0.0.1-alpha.1 (2025-01-09) + +Full Changelog: [v0.0.1-alpha.0...v0.0.1-alpha.1](https://github.com/EvickaStudio/fireapi-v2/compare/v0.0.1-alpha.0...v0.0.1-alpha.1) + +### Chores + +* go live ([#1](https://github.com/EvickaStudio/fireapi-v2/issues/1)) ([fe5e9ad](https://github.com/EvickaStudio/fireapi-v2/commit/fe5e9ad4f20aaa67f6462f03672fd7a61fc23676)) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bd905af..9312514 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -63,7 +63,7 @@ If you’d like to use the repository from source, you can either install from g To install via git: ```sh -$ pip install git+ssh://git@github.com/stainless-sdks/fireapi-v2-python.git +$ pip install git+ssh://git@github.com/EvickaStudio/fireapi-v2.git ``` Alternatively, you can build from source and install the wheel file: @@ -121,7 +121,7 @@ the changes aren't made through the automated pipeline, you may want to make rel ### Publish with a GitHub workflow -You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/stainless-sdks/fireapi-v2-python/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up. +You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/EvickaStudio/fireapi-v2/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up. ### Publish manually diff --git a/README.md b/README.md index dc347a8..b881b78 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,8 @@ The REST API documentation can be found on [apidocs.24fire.de](https://apidocs.2 ## Installation ```sh -# install from this staging repo -pip install git+https://github.com/Evicka-Studio/fireapi-v2.git +# install from the production repo +pip install git+ssh://git@github.com/EvickaStudio/fireapi-v2.git ``` > [!NOTE] @@ -210,9 +210,9 @@ account = response.parse() # get the object that `accounts.retrieve()` would ha print(account.data) ``` -These methods return an [`APIResponse`](https://github.com/stainless-sdks/fireapi-v2-python/tree/main/src/fireapi_v2/_response.py) object. +These methods return an [`APIResponse`](https://github.com/EvickaStudio/fireapi-v2/tree/main/src/fireapi_v2/_response.py) object. -The async client returns an [`AsyncAPIResponse`](https://github.com/stainless-sdks/fireapi-v2-python/tree/main/src/fireapi_v2/_response.py) with the same structure, the only difference being `await`able methods for reading the response content. +The async client returns an [`AsyncAPIResponse`](https://github.com/EvickaStudio/fireapi-v2/tree/main/src/fireapi_v2/_response.py) with the same structure, the only difference being `await`able methods for reading the response content. #### `.with_streaming_response` @@ -316,7 +316,7 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience. -We are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/fireapi-v2-python/issues) with questions, bugs, or suggestions. +We are keen for your feedback; please open an [issue](https://www.github.com/EvickaStudio/fireapi-v2/issues) with questions, bugs, or suggestions. ### Determining the installed version diff --git a/bin/check-release-environment b/bin/check-release-environment new file mode 100644 index 0000000..68d6a06 --- /dev/null +++ b/bin/check-release-environment @@ -0,0 +1,21 @@ +#!/usr/bin/env bash + +errors=() + +if [ -z "${PYPI_TOKEN}" ]; then + errors+=("The FIREAPI_V2_PYPI_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets.") +fi + +lenErrors=${#errors[@]} + +if [[ lenErrors -gt 0 ]]; then + echo -e "Found the following errors in the release environment:\n" + + for error in "${errors[@]}"; do + echo -e "- $error\n" + done + + exit 1 +fi + +echo "The environment is ready to push releases!" diff --git a/pyproject.toml b/pyproject.toml index 8102493..af8b97e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "fireapi_v2" -version = "0.0.1-alpha.0" +version = "0.0.1-alpha.1" description = "The official Python library for the fireapi-v2 API" dynamic = ["readme"] license = "Apache-2.0" @@ -34,8 +34,8 @@ classifiers = [ ] [project.urls] -Homepage = "https://github.com/stainless-sdks/fireapi-v2-python" -Repository = "https://github.com/stainless-sdks/fireapi-v2-python" +Homepage = "https://github.com/EvickaStudio/fireapi-v2" +Repository = "https://github.com/EvickaStudio/fireapi-v2" @@ -122,7 +122,7 @@ path = "README.md" [[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]] # replace relative links with absolute links pattern = '\[(.+?)\]\(((?!https?://)\S+?)\)' -replacement = '[\1](https://github.com/stainless-sdks/fireapi-v2-python/tree/main/\g<2>)' +replacement = '[\1](https://github.com/EvickaStudio/fireapi-v2/tree/main/\g<2>)' [tool.pytest.ini_options] testpaths = ["tests"] diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..c872688 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,66 @@ +{ + "packages": { + ".": {} + }, + "$schema": "https://raw.githubusercontent.com/stainless-api/release-please/main/schemas/config.json", + "include-v-in-tag": true, + "include-component-in-tag": false, + "versioning": "prerelease", + "prerelease": true, + "bump-minor-pre-major": true, + "bump-patch-for-minor-pre-major": false, + "pull-request-header": "Automated Release PR", + "pull-request-title-pattern": "release: ${version}", + "changelog-sections": [ + { + "type": "feat", + "section": "Features" + }, + { + "type": "fix", + "section": "Bug Fixes" + }, + { + "type": "perf", + "section": "Performance Improvements" + }, + { + "type": "revert", + "section": "Reverts" + }, + { + "type": "chore", + "section": "Chores" + }, + { + "type": "docs", + "section": "Documentation" + }, + { + "type": "style", + "section": "Styles" + }, + { + "type": "refactor", + "section": "Refactors" + }, + { + "type": "test", + "section": "Tests", + "hidden": true + }, + { + "type": "build", + "section": "Build System" + }, + { + "type": "ci", + "section": "Continuous Integration", + "hidden": true + } + ], + "release-type": "python", + "extra-files": [ + "src/fireapi_v2/_version.py" + ] +} \ No newline at end of file diff --git a/src/fireapi_v2/_version.py b/src/fireapi_v2/_version.py index 22bd3f0..a1945e1 100644 --- a/src/fireapi_v2/_version.py +++ b/src/fireapi_v2/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "fireapi_v2" -__version__ = "0.0.1-alpha.0" +__version__ = "0.0.1-alpha.1" # x-release-please-version diff --git a/src/fireapi_v2/resources/accounts/accounts.py b/src/fireapi_v2/resources/accounts/accounts.py index 9e6a42b..17fa850 100644 --- a/src/fireapi_v2/resources/accounts/accounts.py +++ b/src/fireapi_v2/resources/accounts/accounts.py @@ -62,7 +62,7 @@ def with_raw_response(self) -> AccountsResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return AccountsResourceWithRawResponse(self) @@ -71,7 +71,7 @@ def with_streaming_response(self) -> AccountsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return AccountsResourceWithStreamingResponse(self) @@ -114,7 +114,7 @@ def with_raw_response(self) -> AsyncAccountsResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return AsyncAccountsResourceWithRawResponse(self) @@ -123,7 +123,7 @@ def with_streaming_response(self) -> AsyncAccountsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return AsyncAccountsResourceWithStreamingResponse(self) diff --git a/src/fireapi_v2/resources/accounts/affiliate.py b/src/fireapi_v2/resources/accounts/affiliate.py index 98bdabd..ee1b1fa 100644 --- a/src/fireapi_v2/resources/accounts/affiliate.py +++ b/src/fireapi_v2/resources/accounts/affiliate.py @@ -25,7 +25,7 @@ def with_raw_response(self) -> AffiliateResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return AffiliateResourceWithRawResponse(self) @@ -34,7 +34,7 @@ def with_streaming_response(self) -> AffiliateResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return AffiliateResourceWithStreamingResponse(self) @@ -65,7 +65,7 @@ def with_raw_response(self) -> AsyncAffiliateResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return AsyncAffiliateResourceWithRawResponse(self) @@ -74,7 +74,7 @@ def with_streaming_response(self) -> AsyncAffiliateResourceWithStreamingResponse """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return AsyncAffiliateResourceWithStreamingResponse(self) diff --git a/src/fireapi_v2/resources/accounts/donations.py b/src/fireapi_v2/resources/accounts/donations.py index bc0624d..89f3095 100644 --- a/src/fireapi_v2/resources/accounts/donations.py +++ b/src/fireapi_v2/resources/accounts/donations.py @@ -25,7 +25,7 @@ def with_raw_response(self) -> DonationsResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return DonationsResourceWithRawResponse(self) @@ -34,7 +34,7 @@ def with_streaming_response(self) -> DonationsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return DonationsResourceWithStreamingResponse(self) @@ -65,7 +65,7 @@ def with_raw_response(self) -> AsyncDonationsResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return AsyncDonationsResourceWithRawResponse(self) @@ -74,7 +74,7 @@ def with_streaming_response(self) -> AsyncDonationsResourceWithStreamingResponse """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return AsyncDonationsResourceWithStreamingResponse(self) diff --git a/src/fireapi_v2/resources/accounts/services.py b/src/fireapi_v2/resources/accounts/services.py index 464bc98..41f9289 100644 --- a/src/fireapi_v2/resources/accounts/services.py +++ b/src/fireapi_v2/resources/accounts/services.py @@ -25,7 +25,7 @@ def with_raw_response(self) -> ServicesResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return ServicesResourceWithRawResponse(self) @@ -34,7 +34,7 @@ def with_streaming_response(self) -> ServicesResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return ServicesResourceWithStreamingResponse(self) @@ -65,7 +65,7 @@ def with_raw_response(self) -> AsyncServicesResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return AsyncServicesResourceWithRawResponse(self) @@ -74,7 +74,7 @@ def with_streaming_response(self) -> AsyncServicesResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return AsyncServicesResourceWithStreamingResponse(self) diff --git a/src/fireapi_v2/resources/domains/dns.py b/src/fireapi_v2/resources/domains/dns.py index df0b84b..83d0b6a 100644 --- a/src/fireapi_v2/resources/domains/dns.py +++ b/src/fireapi_v2/resources/domains/dns.py @@ -30,7 +30,7 @@ def with_raw_response(self) -> DNSResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return DNSResourceWithRawResponse(self) @@ -39,7 +39,7 @@ def with_streaming_response(self) -> DNSResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return DNSResourceWithStreamingResponse(self) @@ -224,7 +224,7 @@ def with_raw_response(self) -> AsyncDNSResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return AsyncDNSResourceWithRawResponse(self) @@ -233,7 +233,7 @@ def with_streaming_response(self) -> AsyncDNSResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return AsyncDNSResourceWithStreamingResponse(self) diff --git a/src/fireapi_v2/resources/domains/domains.py b/src/fireapi_v2/resources/domains/domains.py index c40c985..a0d9e08 100644 --- a/src/fireapi_v2/resources/domains/domains.py +++ b/src/fireapi_v2/resources/domains/domains.py @@ -37,7 +37,7 @@ def with_raw_response(self) -> DomainsResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return DomainsResourceWithRawResponse(self) @@ -46,7 +46,7 @@ def with_streaming_response(self) -> DomainsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return DomainsResourceWithStreamingResponse(self) @@ -95,7 +95,7 @@ def with_raw_response(self) -> AsyncDomainsResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return AsyncDomainsResourceWithRawResponse(self) @@ -104,7 +104,7 @@ def with_streaming_response(self) -> AsyncDomainsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return AsyncDomainsResourceWithStreamingResponse(self) diff --git a/src/fireapi_v2/resources/kvm/backup.py b/src/fireapi_v2/resources/kvm/backup.py index c5cf4a9..a14cc91 100644 --- a/src/fireapi_v2/resources/kvm/backup.py +++ b/src/fireapi_v2/resources/kvm/backup.py @@ -36,7 +36,7 @@ def with_raw_response(self) -> BackupResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return BackupResourceWithRawResponse(self) @@ -45,7 +45,7 @@ def with_streaming_response(self) -> BackupResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return BackupResourceWithStreamingResponse(self) @@ -241,7 +241,7 @@ def with_raw_response(self) -> AsyncBackupResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return AsyncBackupResourceWithRawResponse(self) @@ -250,7 +250,7 @@ def with_streaming_response(self) -> AsyncBackupResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return AsyncBackupResourceWithStreamingResponse(self) diff --git a/src/fireapi_v2/resources/kvm/config.py b/src/fireapi_v2/resources/kvm/config.py index a860721..ccd1031 100644 --- a/src/fireapi_v2/resources/kvm/config.py +++ b/src/fireapi_v2/resources/kvm/config.py @@ -25,7 +25,7 @@ def with_raw_response(self) -> ConfigResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return ConfigResourceWithRawResponse(self) @@ -34,7 +34,7 @@ def with_streaming_response(self) -> ConfigResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return ConfigResourceWithStreamingResponse(self) @@ -79,7 +79,7 @@ def with_raw_response(self) -> AsyncConfigResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return AsyncConfigResourceWithRawResponse(self) @@ -88,7 +88,7 @@ def with_streaming_response(self) -> AsyncConfigResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return AsyncConfigResourceWithStreamingResponse(self) diff --git a/src/fireapi_v2/resources/kvm/ddos.py b/src/fireapi_v2/resources/kvm/ddos.py index 6565896..7293909 100644 --- a/src/fireapi_v2/resources/kvm/ddos.py +++ b/src/fireapi_v2/resources/kvm/ddos.py @@ -30,7 +30,7 @@ def with_raw_response(self) -> DdosResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return DdosResourceWithRawResponse(self) @@ -39,7 +39,7 @@ def with_streaming_response(self) -> DdosResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return DdosResourceWithStreamingResponse(self) @@ -136,7 +136,7 @@ def with_raw_response(self) -> AsyncDdosResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return AsyncDdosResourceWithRawResponse(self) @@ -145,7 +145,7 @@ def with_streaming_response(self) -> AsyncDdosResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return AsyncDdosResourceWithStreamingResponse(self) diff --git a/src/fireapi_v2/resources/kvm/kvm.py b/src/fireapi_v2/resources/kvm/kvm.py index 5356fce..2468dbc 100644 --- a/src/fireapi_v2/resources/kvm/kvm.py +++ b/src/fireapi_v2/resources/kvm/kvm.py @@ -102,7 +102,7 @@ def with_raw_response(self) -> KvmResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return KvmResourceWithRawResponse(self) @@ -111,7 +111,7 @@ def with_streaming_response(self) -> KvmResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return KvmResourceWithStreamingResponse(self) @@ -184,7 +184,7 @@ def with_raw_response(self) -> AsyncKvmResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return AsyncKvmResourceWithRawResponse(self) @@ -193,7 +193,7 @@ def with_streaming_response(self) -> AsyncKvmResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return AsyncKvmResourceWithStreamingResponse(self) diff --git a/src/fireapi_v2/resources/kvm/monitoring.py b/src/fireapi_v2/resources/kvm/monitoring.py index 9fab654..7ae9d62 100644 --- a/src/fireapi_v2/resources/kvm/monitoring.py +++ b/src/fireapi_v2/resources/kvm/monitoring.py @@ -25,7 +25,7 @@ def with_raw_response(self) -> MonitoringResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return MonitoringResourceWithRawResponse(self) @@ -34,7 +34,7 @@ def with_streaming_response(self) -> MonitoringResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return MonitoringResourceWithStreamingResponse(self) @@ -114,7 +114,7 @@ def with_raw_response(self) -> AsyncMonitoringResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return AsyncMonitoringResourceWithRawResponse(self) @@ -123,7 +123,7 @@ def with_streaming_response(self) -> AsyncMonitoringResourceWithStreamingRespons """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return AsyncMonitoringResourceWithStreamingResponse(self) diff --git a/src/fireapi_v2/resources/kvm/status.py b/src/fireapi_v2/resources/kvm/status.py index f60ea57..1d5a0e1 100644 --- a/src/fireapi_v2/resources/kvm/status.py +++ b/src/fireapi_v2/resources/kvm/status.py @@ -25,7 +25,7 @@ def with_raw_response(self) -> StatusResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return StatusResourceWithRawResponse(self) @@ -34,7 +34,7 @@ def with_streaming_response(self) -> StatusResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return StatusResourceWithStreamingResponse(self) @@ -79,7 +79,7 @@ def with_raw_response(self) -> AsyncStatusResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return AsyncStatusResourceWithRawResponse(self) @@ -88,7 +88,7 @@ def with_streaming_response(self) -> AsyncStatusResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return AsyncStatusResourceWithStreamingResponse(self) diff --git a/src/fireapi_v2/resources/kvm/traffic.py b/src/fireapi_v2/resources/kvm/traffic.py index 9e015f6..a8547ae 100644 --- a/src/fireapi_v2/resources/kvm/traffic.py +++ b/src/fireapi_v2/resources/kvm/traffic.py @@ -30,7 +30,7 @@ def with_raw_response(self) -> TrafficResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return TrafficResourceWithRawResponse(self) @@ -39,7 +39,7 @@ def with_streaming_response(self) -> TrafficResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return TrafficResourceWithStreamingResponse(self) @@ -182,7 +182,7 @@ def with_raw_response(self) -> AsyncTrafficResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return AsyncTrafficResourceWithRawResponse(self) @@ -191,7 +191,7 @@ def with_streaming_response(self) -> AsyncTrafficResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return AsyncTrafficResourceWithStreamingResponse(self) diff --git a/src/fireapi_v2/resources/kvms/backup.py b/src/fireapi_v2/resources/kvms/backup.py index 8f933b0..4bafc5d 100644 --- a/src/fireapi_v2/resources/kvms/backup.py +++ b/src/fireapi_v2/resources/kvms/backup.py @@ -25,7 +25,7 @@ def with_raw_response(self) -> BackupResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return BackupResourceWithRawResponse(self) @@ -34,7 +34,7 @@ def with_streaming_response(self) -> BackupResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return BackupResourceWithStreamingResponse(self) @@ -79,7 +79,7 @@ def with_raw_response(self) -> AsyncBackupResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return AsyncBackupResourceWithRawResponse(self) @@ -88,7 +88,7 @@ def with_streaming_response(self) -> AsyncBackupResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return AsyncBackupResourceWithStreamingResponse(self) diff --git a/src/fireapi_v2/resources/kvms/kvms.py b/src/fireapi_v2/resources/kvms/kvms.py index bcfd958..e93a926 100644 --- a/src/fireapi_v2/resources/kvms/kvms.py +++ b/src/fireapi_v2/resources/kvms/kvms.py @@ -27,7 +27,7 @@ def with_raw_response(self) -> KvmsResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return KvmsResourceWithRawResponse(self) @@ -36,7 +36,7 @@ def with_streaming_response(self) -> KvmsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return KvmsResourceWithStreamingResponse(self) @@ -52,7 +52,7 @@ def with_raw_response(self) -> AsyncKvmsResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return AsyncKvmsResourceWithRawResponse(self) @@ -61,7 +61,7 @@ def with_streaming_response(self) -> AsyncKvmsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return AsyncKvmsResourceWithStreamingResponse(self) diff --git a/src/fireapi_v2/resources/webspaces.py b/src/fireapi_v2/resources/webspaces.py index dc49b18..682a1e9 100644 --- a/src/fireapi_v2/resources/webspaces.py +++ b/src/fireapi_v2/resources/webspaces.py @@ -25,7 +25,7 @@ def with_raw_response(self) -> WebspacesResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return WebspacesResourceWithRawResponse(self) @@ -34,7 +34,7 @@ def with_streaming_response(self) -> WebspacesResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return WebspacesResourceWithStreamingResponse(self) @@ -79,7 +79,7 @@ def with_raw_response(self) -> AsyncWebspacesResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#accessing-raw-response-data-eg-headers """ return AsyncWebspacesResourceWithRawResponse(self) @@ -88,7 +88,7 @@ def with_streaming_response(self) -> AsyncWebspacesResourceWithStreamingResponse """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/fireapi-v2-python#with_streaming_response + For more information, see https://www.github.com/EvickaStudio/fireapi-v2#with_streaming_response """ return AsyncWebspacesResourceWithStreamingResponse(self)