Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions onekey_client/client.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
import functools
import gc
import secrets
from importlib import resources
from pathlib import Path

try:
from importlib import resources
except ImportError:
import importlib_resources as resources

import httpx
from authlib.jose import jwt
from authlib.oidc.core import IDToken
Expand Down
6 changes: 1 addition & 5 deletions onekey_client/queries/utils.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
import functools
from importlib import resources

from .. import queries

try:
from importlib import resources
except ImportError:
import importlib_resources as resources


@functools.lru_cache
def load_query(query_name) -> str:
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ classifiers = [
"Topic :: Security",
]
dependencies = [
"httpx==0.28.1",
"pydantic==2.12.5",
"httpx>=0.28.1",
"pydantic>=2.12.5",
"Authlib>=1.4.1,<2.0.0",
"importlib-resources>=6.0.0,<7",
"click>=8.1.3,<9",
"junit-xml>=1.9,<2",
]
Expand Down
27 changes: 2 additions & 25 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.