abysshub 1.0.1.dev15__tar.gz → 1.0.1.dev16__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {abysshub-1.0.1.dev15 → abysshub-1.0.1.dev16}/PKG-INFO +1 -1
- {abysshub-1.0.1.dev15 → abysshub-1.0.1.dev16}/pyproject.toml +1 -1
- {abysshub-1.0.1.dev15 → abysshub-1.0.1.dev16}/src/abysshub/_async_client.py +1 -7
- {abysshub-1.0.1.dev15 → abysshub-1.0.1.dev16}/src/abysshub/_client.py +1 -7
- {abysshub-1.0.1.dev15 → abysshub-1.0.1.dev16}/tests/fake_server.py +1 -1
- abysshub-1.0.1.dev16/vulture_whitelist.py +2 -0
- abysshub-1.0.1.dev15/vulture_whitelist.py +0 -6
- {abysshub-1.0.1.dev15 → abysshub-1.0.1.dev16}/.gitignore +0 -0
- {abysshub-1.0.1.dev15 → abysshub-1.0.1.dev16}/LICENSE +0 -0
- {abysshub-1.0.1.dev15 → abysshub-1.0.1.dev16}/README.md +0 -0
- {abysshub-1.0.1.dev15 → abysshub-1.0.1.dev16}/src/abysshub/__init__.py +0 -0
- {abysshub-1.0.1.dev15 → abysshub-1.0.1.dev16}/src/abysshub/__main__.py +0 -0
- {abysshub-1.0.1.dev15 → abysshub-1.0.1.dev16}/src/abysshub/_command.py +0 -0
- {abysshub-1.0.1.dev15 → abysshub-1.0.1.dev16}/src/abysshub/_env.py +0 -0
- {abysshub-1.0.1.dev15 → abysshub-1.0.1.dev16}/src/abysshub/_error.py +0 -0
- {abysshub-1.0.1.dev15 → abysshub-1.0.1.dev16}/src/abysshub/_files.py +0 -0
- {abysshub-1.0.1.dev15 → abysshub-1.0.1.dev16}/src/abysshub/_http.py +0 -0
- {abysshub-1.0.1.dev15 → abysshub-1.0.1.dev16}/src/abysshub/_run.py +0 -0
- {abysshub-1.0.1.dev15 → abysshub-1.0.1.dev16}/src/abysshub/_types.py +0 -0
- {abysshub-1.0.1.dev15 → abysshub-1.0.1.dev16}/src/abysshub/py.typed +0 -0
- {abysshub-1.0.1.dev15 → abysshub-1.0.1.dev16}/tests/caller.py +0 -0
- {abysshub-1.0.1.dev15 → abysshub-1.0.1.dev16}/tests/conftest.py +0 -0
- {abysshub-1.0.1.dev15 → abysshub-1.0.1.dev16}/tests/test_client.py +0 -0
- {abysshub-1.0.1.dev15 → abysshub-1.0.1.dev16}/tests/test_command.py +0 -0
- {abysshub-1.0.1.dev15 → abysshub-1.0.1.dev16}/tests/test_files.py +0 -0
- {abysshub-1.0.1.dev15 → abysshub-1.0.1.dev16}/tests/test_http.py +0 -0
- {abysshub-1.0.1.dev15 → abysshub-1.0.1.dev16}/tests/test_package.py +0 -0
- {abysshub-1.0.1.dev15 → abysshub-1.0.1.dev16}/tests/test_replay.py +0 -0
- {abysshub-1.0.1.dev15 → abysshub-1.0.1.dev16}/tests/test_timeout.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: abysshub
|
|
3
|
-
Version: 1.0.1.
|
|
3
|
+
Version: 1.0.1.dev16
|
|
4
4
|
Summary: Run a hosted tool, an Abyss Widget, from your own Python code and get its result and files. The official library for the Abyss API.
|
|
5
5
|
Project-URL: Homepage, https://abysshub.com/docs#api
|
|
6
6
|
Project-URL: Documentation, https://abysshub.com/docs
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "abysshub"
|
|
7
|
-
version = "1.0.1.
|
|
7
|
+
version = "1.0.1.dev16"
|
|
8
8
|
description = "Run a hosted tool, an Abyss Widget, from your own Python code and get its result and files. The official library for the Abyss API."
|
|
9
9
|
keywords = [
|
|
10
10
|
"abyss",
|
|
@@ -3,7 +3,6 @@ from __future__ import annotations
|
|
|
3
3
|
import asyncio
|
|
4
4
|
import math
|
|
5
5
|
from collections.abc import Awaitable, Callable, Mapping
|
|
6
|
-
from types import TracebackType
|
|
7
6
|
from typing import Any
|
|
8
7
|
|
|
9
8
|
import httpx
|
|
@@ -142,12 +141,7 @@ class AsyncAbyss(_Base[AsyncRun]):
|
|
|
142
141
|
async def __aenter__(self) -> AsyncAbyss:
|
|
143
142
|
return self
|
|
144
143
|
|
|
145
|
-
async def __aexit__(
|
|
146
|
-
self,
|
|
147
|
-
exc_type: type[BaseException] | None,
|
|
148
|
-
exc: BaseException | None,
|
|
149
|
-
tb: TracebackType | None,
|
|
150
|
-
) -> None:
|
|
144
|
+
async def __aexit__(self, *_: object) -> None:
|
|
151
145
|
await self.close()
|
|
152
146
|
|
|
153
147
|
async def run(
|
|
@@ -10,7 +10,6 @@ import uuid
|
|
|
10
10
|
from collections.abc import Callable, Mapping
|
|
11
11
|
from dataclasses import dataclass
|
|
12
12
|
from importlib import metadata
|
|
13
|
-
from types import TracebackType
|
|
14
13
|
from typing import Any, Generic, TypeVar
|
|
15
14
|
from urllib.parse import quote, urlencode
|
|
16
15
|
|
|
@@ -379,12 +378,7 @@ class Abyss(_Base[Run]):
|
|
|
379
378
|
def __enter__(self) -> Abyss:
|
|
380
379
|
return self
|
|
381
380
|
|
|
382
|
-
def __exit__(
|
|
383
|
-
self,
|
|
384
|
-
exc_type: type[BaseException] | None,
|
|
385
|
-
exc: BaseException | None,
|
|
386
|
-
tb: TracebackType | None,
|
|
387
|
-
) -> None:
|
|
381
|
+
def __exit__(self, *_: object) -> None:
|
|
388
382
|
self.close()
|
|
389
383
|
|
|
390
384
|
def run(
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
# vulture's findings when the dead-code check began, which it no longer reports. A name
|
|
2
|
-
# leaves when its last finding is gone (tests/test_package.py checks that each still is).
|
|
3
|
-
exc_type # unused variable (src/abysshub/_async_client.py:147, src/abysshub/_client.py:384)
|
|
4
|
-
exc # unused variable (src/abysshub/_async_client.py:148, src/abysshub/_client.py:385)
|
|
5
|
-
tb # unused variable (src/abysshub/_async_client.py:149, src/abysshub/_client.py:386)
|
|
6
|
-
format # unused variable (tests/fake_server.py:53)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|