Skip to content

Commit 1662e42

Browse files
authored
Merge pull request #2 from apideck-libraries/speakeasy-sdk-regen-1743006270
chore: 🐝 Update SDK - Generate 0.9.3
2 parents 7f073ba + fa9486e commit 1662e42

File tree

9 files changed

+1378
-12
lines changed

9 files changed

+1378
-12
lines changed

.speakeasy/workflow.lock

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ speakeasyVersion: 1.523.2
22
sources:
33
accounting:
44
sourceNamespace: apideck-accounting-only-oas
5-
sourceRevisionDigest: sha256:da2fb1c25f6e49afaac1e59d0e15ba472fb9ed71cdb1fa415f62888b514325b4
5+
sourceRevisionDigest: sha256:56f817619ba615301852d6a0a8f2351bfad3de3b42ad3ebaf6af8ec12ed21193
66
sourceBlobDigest: sha256:6d730e4fc04f1f82cc3401f99edab1f888d699a469e32a9ad951a53be8913b0e
77
tags:
88
- latest
9+
- speakeasy-sdk-regen-1743006270
910
- 10.12.4
1011
lending:
1112
sourceNamespace: lending
@@ -18,10 +19,10 @@ targets:
1819
accounting-py:
1920
source: accounting
2021
sourceNamespace: apideck-accounting-only-oas
21-
sourceRevisionDigest: sha256:da2fb1c25f6e49afaac1e59d0e15ba472fb9ed71cdb1fa415f62888b514325b4
22+
sourceRevisionDigest: sha256:56f817619ba615301852d6a0a8f2351bfad3de3b42ad3ebaf6af8ec12ed21193
2223
sourceBlobDigest: sha256:6d730e4fc04f1f82cc3401f99edab1f888d699a469e32a9ad951a53be8913b0e
2324
codeSamplesNamespace: apideck-accounting-only-oas-python-code-samples
24-
codeSamplesRevisionDigest: sha256:fce1be86a0a48ada39015f31219a0e617a341ec02e321503d1a7c351dd7c7f4f
25+
codeSamplesRevisionDigest: sha256:f8875db073876970fbaf5611c0a0867c5e614f5e4f29233c25a8004dd29717fc
2526
accounting-ts:
2627
source: accounting
2728
sourceNamespace: accounting

accounting/.speakeasy/gen.lock

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@ management:
55
docVersion: 10.12.4
66
speakeasyVersion: 1.523.2
77
generationVersion: 2.560.1
8-
releaseVersion: 0.9.2
9-
configChecksum: f59c302bb5bf8d03a4536a5a1478a37b
8+
releaseVersion: 0.9.3
9+
configChecksum: 0e7b549b186bf3a5fb600571014acf42
10+
repoURL: https://github.com/apideck-libraries/sdk-python-pack.git
11+
repoSubDirectory: accounting
12+
installationURL: https://github.com/apideck-libraries/sdk-python-pack.git#subdirectory=accounting
1013
published: true
1114
features:
1215
python:

accounting/.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ generation:
1818
oAuth2ClientCredentialsEnabled: true
1919
oAuth2PasswordEnabled: true
2020
python:
21-
version: 0.9.2
21+
version: 0.9.3
2222
additionalDependencies:
2323
dev: {}
2424
main: {}

accounting/README-PYPI.md

Lines changed: 698 additions & 0 deletions
Large diffs are not rendered by default.

accounting/RELEASES.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
3+
## 2025-03-26 16:24:15
4+
### Changes
5+
Based on:
6+
- OpenAPI Doc
7+
- Speakeasy CLI 1.523.2 (2.560.1) https://github.com/speakeasy-api/speakeasy
8+
### Generated
9+
- [python v0.9.3] accounting
10+
### Releases
11+
- [PyPI v0.9.3] https://pypi.org/project/apideck-accounting-unify/0.9.3 - accounting

accounting/poetry.lock

Lines changed: 628 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

accounting/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "apideck-accounting-unify"
3-
version = "0.9.2"
3+
version = "0.9.3"
44
description = "Python Client SDK Generated by Speakeasy."
55
authors = [{ name = "Speakeasy" },]
66
readme = "README-PYPI.md"
@@ -15,6 +15,7 @@ dependencies = [
1515
]
1616

1717
[tool.poetry]
18+
repository = "https://github.com/apideck-libraries/sdk-python-pack.git"
1819
packages = [
1920
{ include = "apideck_accounting_unify", from = "src" }
2021
]

accounting/scripts/prepare_readme.py

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,33 @@
11
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
22

3+
import re
34
import shutil
45

56
try:
6-
shutil.copyfile("README.md", "README-PYPI.md")
7+
with open("README.md", "r", encoding="utf-8") as rh:
8+
readme_contents = rh.read()
9+
GITHUB_URL = "https://github.com/apideck-libraries/sdk-python-pack.git"
10+
GITHUB_URL = (
11+
GITHUB_URL[: -len(".git")] if GITHUB_URL.endswith(".git") else GITHUB_URL
12+
)
13+
# links on PyPI should have absolute URLs
14+
readme_contents = re.sub(
15+
r"(\[[^\]]+\]\()((?!https?:)[^\)]+)(\))",
16+
lambda m: m.group(1)
17+
+ GITHUB_URL
18+
+ "/blob/master/"
19+
+ m.group(2)
20+
+ m.group(3),
21+
readme_contents,
22+
)
23+
24+
with open("README-PYPI.md", "w", encoding="utf-8") as wh:
25+
wh.write(readme_contents)
726
except Exception as e:
8-
print("Failed to copy README.md to README-PYPI.md")
9-
print(e)
27+
try:
28+
print("Failed to rewrite README.md to README-PYPI.md, copying original instead")
29+
print(e)
30+
shutil.copyfile("README.md", "README-PYPI.md")
31+
except Exception as ie:
32+
print("Failed to copy README.md to README-PYPI.md")
33+
print(ie)

accounting/src/apideck_accounting_unify/_version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
import importlib.metadata
44

55
__title__: str = "apideck-accounting-unify"
6-
__version__: str = "0.9.2"
6+
__version__: str = "0.9.3"
77
__openapi_doc_version__: str = "10.12.4"
88
__gen_version__: str = "2.560.1"
99
__user_agent__: str = (
10-
"speakeasy-sdk/python 0.9.2 2.560.1 10.12.4 apideck-accounting-unify"
10+
"speakeasy-sdk/python 0.9.3 2.560.1 10.12.4 apideck-accounting-unify"
1111
)
1212

1313
try:

0 commit comments

Comments
 (0)