Skip to content
Open
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,16 +1,12 @@
import functools
import gc
import secrets
from importlib import resources
from pathlib import Path
from typing import Optional, List, Dict

from httpx import URL

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

import httpx
from pydantic import parse_obj_as
from authlib.oidc.core import IDToken
Expand Down
7 changes: 2 additions & 5 deletions onekey_client/queries/utils.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import functools
from .. import queries
from importlib import resources

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


@functools.lru_cache()
Expand Down
6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@ 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",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

junit-xml is still in use:

from junit_xml import TestSuite, TestCase

]

[project.urls]
Expand Down
50 changes: 2 additions & 48 deletions uv.lock

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