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
39 changes: 0 additions & 39 deletions .github/workflows/python-package.yml

This file was deleted.

1 change: 0 additions & 1 deletion black.ps1

This file was deleted.

506 changes: 3 additions & 503 deletions poetry.lock

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ classifiers = [

[tool.poetry.dependencies]
python = "^3.9"
aiohttp = "^3.8.6"


[build-system]
Expand Down
24 changes: 2 additions & 22 deletions solvedac_community/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,7 @@
Copyright (c) 2023 DevRuby
"""

from . import HTTPClients
from .client import Client

__all__ = ["Client"]

count = 0

try:
import aiohttp

count += 1
except ImportError:
pass

try:
import httpx

count += 1
except ImportError:
pass

if count == 0:
raise ImportError(
"\nAt least one of aiohttp or httpx libraries is required\nTry `pip install aiohttp` or `pip install httpx`"
)
__all__ = ["Client", "HTTPClients"]
Empty file added test/__init__.py
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.