Skip to content

Commit

Permalink
Fix #206 upgrade httpx and related deps (#207)
Browse files Browse the repository at this point in the history
* Fix #206 upgrade httpx and related deps

* Linting updates

* Fix linting

* Fix linting
  • Loading branch information
erichare committed Feb 14, 2024
1 parent bd35610 commit 8aa38ac
Show file tree
Hide file tree
Showing 6 changed files with 124 additions and 111 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: main # Replace with your desired version or use 'stable'
rev: 24.2.0 # Replace with your desired version or use 'stable'
hooks:
- id: black
args: ['--quiet']
Expand Down
6 changes: 2 additions & 4 deletions astrapy/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@

# This is for the (partialed, if necessary) functions that can be "paginated".
class PaginableRequestMethod(Protocol):
def __call__(self, options: Dict[str, Any]) -> API_RESPONSE:
...
def __call__(self, options: Dict[str, Any]) -> API_RESPONSE: ...


# This is for the (partialed, if necessary) async functions that can be "paginated".
class AsyncPaginableRequestMethod(Protocol):
async def __call__(self, options: Dict[str, Any]) -> API_RESPONSE:
...
async def __call__(self, options: Dict[str, Any]) -> API_RESPONSE: ...

0 comments on commit 8aa38ac

Please sign in to comment.