Skip to content

Commit 2fc23de

Browse files
feat(api): manual updates
1 parent a94be20 commit 2fc23de

67 files changed

Lines changed: 114 additions & 108 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 3
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta%2Fwarp-api-c4c5f89f67a73e4d17377d2b96fc201a63cd5458cbebaa23e78f92b59b90cc5b.yml
33
openapi_spec_hash: 931c6189a4fc4ee320963646b1b7edbe
4-
config_hash: 89e74158cf50a4cc62e228b555840a74
4+
config_hash: fa393af196be851b15bd1394c2eaafaa

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion

README.md

Lines changed: 22 additions & 22 deletions

api.md

Lines changed: 5 additions & 5 deletions

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ include = [
8686
]
8787

8888
[tool.hatch.build.targets.wheel]
89-
packages = ["src/warp_sdk"]
89+
packages = ["src/warp_agent_sdk"]
9090

9191
[tool.hatch.build.targets.sdist]
9292
# Basically everything except hidden files/directories (such as .github, .devcontainers, .python-version, etc)
@@ -154,7 +154,7 @@ show_error_codes = true
154154
#
155155
# We also exclude our `tests` as mypy doesn't always infer
156156
# types correctly and Pyright will still catch any type errors.
157-
exclude = ['src/warp_sdk/_files.py', '_dev/.*.py', 'tests/.*']
157+
exclude = ['src/warp_agent_sdk/_files.py', '_dev/.*.py', 'tests/.*']
158158

159159
strict_equality = true
160160
implicit_reexport = true
@@ -246,7 +246,7 @@ length-sort = true
246246
length-sort-straight = true
247247
combine-as-imports = true
248248
extra-standard-library = ["typing_extensions"]
249-
known-first-party = ["warp_sdk", "tests"]
249+
known-first-party = ["warp_agent_sdk", "tests"]
250250

251251
[tool.ruff.lint.per-file-ignores]
252252
"bin/**.py" = ["T201", "T203"]

release-please-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@
6161
],
6262
"release-type": "python",
6363
"extra-files": [
64-
"src/warp_sdk/_version.py"
64+
"src/warp_agent_sdk/_version.py"
6565
]
6666
}

scripts/lint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ echo "==> Running mypy"
1414
uv run mypy .
1515

1616
echo "==> Making sure it imports"
17-
uv run python -c 'import warp_sdk'
17+
uv run python -c 'import warp_agent_sdk'
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,12 @@
8181
# Update the __module__ attribute for exported symbols so that
8282
# error messages point to this module instead of the module
8383
# it was originally defined in, e.g.
84-
# warp_sdk._exceptions.NotFoundError -> warp_sdk.NotFoundError
84+
# warp_agent_sdk._exceptions.NotFoundError -> warp_agent_sdk.NotFoundError
8585
__locals = locals()
8686
for __name in __all__:
8787
if not __name.startswith("__"):
8888
try:
89-
__locals[__name].__module__ = "warp_sdk"
89+
__locals[__name].__module__ = "warp_agent_sdk"
9090
except (TypeError, AttributeError):
9191
# Some of our exported symbols are builtins which we can't set attributes for.
9292
pass
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ def __init__(
389389

390390
if max_retries is None: # pyright: ignore[reportUnnecessaryComparison]
391391
raise TypeError(
392-
"max_retries cannot be None. If you want to disable retries, pass `0`; if you want unlimited retries, pass `math.inf` or a very high number; if you want the default behavior, pass `warp_sdk.DEFAULT_MAX_RETRIES`"
392+
"max_retries cannot be None. If you want to disable retries, pass `0`; if you want unlimited retries, pass `math.inf` or a very high number; if you want the default behavior, pass `warp_agent_sdk.DEFAULT_MAX_RETRIES`"
393393
)
394394

395395
def _enforce_trailing_slash(self, url: URL) -> URL:

0 commit comments

Comments
 (0)