yjdata 0.2.1__tar.gz → 0.2.2__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.
Files changed (32) hide show
  1. {yjdata-0.2.1 → yjdata-0.2.2}/PKG-INFO +1 -1
  2. {yjdata-0.2.1 → yjdata-0.2.2}/pyproject.toml +1 -1
  3. {yjdata-0.2.1 → yjdata-0.2.2}/src/yjdata/web/_context.py +3 -4
  4. {yjdata-0.2.1 → yjdata-0.2.2}/src/yjdata.egg-info/PKG-INFO +1 -1
  5. {yjdata-0.2.1 → yjdata-0.2.2}/README.md +0 -0
  6. {yjdata-0.2.1 → yjdata-0.2.2}/setup.cfg +0 -0
  7. {yjdata-0.2.1 → yjdata-0.2.2}/src/yjdata/__init__.py +0 -0
  8. {yjdata-0.2.1 → yjdata-0.2.2}/src/yjdata/_optional.py +0 -0
  9. {yjdata-0.2.1 → yjdata-0.2.2}/src/yjdata/dataset/__init__.py +0 -0
  10. {yjdata-0.2.1 → yjdata-0.2.2}/src/yjdata/dataset/common.py +0 -0
  11. {yjdata-0.2.1 → yjdata-0.2.2}/src/yjdata/dataset/quote.py +0 -0
  12. {yjdata-0.2.1 → yjdata-0.2.2}/src/yjdata/dataset/snapshot.py +0 -0
  13. {yjdata-0.2.1 → yjdata-0.2.2}/src/yjdata/dataset/trade.py +0 -0
  14. {yjdata-0.2.1 → yjdata-0.2.2}/src/yjdata/db/__init__.py +0 -0
  15. {yjdata-0.2.1 → yjdata-0.2.2}/src/yjdata/db/adapter.py +0 -0
  16. {yjdata-0.2.1 → yjdata-0.2.2}/src/yjdata/db/expression.py +0 -0
  17. {yjdata-0.2.1 → yjdata-0.2.2}/src/yjdata/db/mysql.py +0 -0
  18. {yjdata-0.2.1 → yjdata-0.2.2}/src/yjdata/db/postgres.py +0 -0
  19. {yjdata-0.2.1 → yjdata-0.2.2}/src/yjdata/db/sql.py +0 -0
  20. {yjdata-0.2.1 → yjdata-0.2.2}/src/yjdata/dtype.py +0 -0
  21. {yjdata-0.2.1 → yjdata-0.2.2}/src/yjdata/utlity/__init__.py +0 -0
  22. {yjdata-0.2.1 → yjdata-0.2.2}/src/yjdata/utlity/s3.py +0 -0
  23. {yjdata-0.2.1 → yjdata-0.2.2}/src/yjdata/web/__init__.py +0 -0
  24. {yjdata-0.2.1 → yjdata-0.2.2}/src/yjdata/web/_input.py +0 -0
  25. {yjdata-0.2.1 → yjdata-0.2.2}/src/yjdata/web/calendar.py +0 -0
  26. {yjdata-0.2.1 → yjdata-0.2.2}/src/yjdata/web/client.py +0 -0
  27. {yjdata-0.2.1 → yjdata-0.2.2}/src/yjdata/web/time_util.py +0 -0
  28. {yjdata-0.2.1 → yjdata-0.2.2}/src/yjdata.egg-info/SOURCES.txt +0 -0
  29. {yjdata-0.2.1 → yjdata-0.2.2}/src/yjdata.egg-info/dependency_links.txt +0 -0
  30. {yjdata-0.2.1 → yjdata-0.2.2}/src/yjdata.egg-info/requires.txt +0 -0
  31. {yjdata-0.2.1 → yjdata-0.2.2}/src/yjdata.egg-info/top_level.txt +0 -0
  32. {yjdata-0.2.1 → yjdata-0.2.2}/tests/test_last_of_group.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: yjdata
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: yjdata SDK for Python
5
5
  Requires-Python: >=3.10
6
6
  Description-Content-Type: text/markdown
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "yjdata"
7
- version = "0.2.1"
7
+ version = "0.2.2"
8
8
  description = "yjdata SDK for Python"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -44,14 +44,13 @@ class RequestContext(abc.ABC):
44
44
  def _proc_args(kwargs: dict):
45
45
  return {
46
46
  **kwargs,
47
- 'follow_redirects': True,
48
- 'verify': False
47
+ 'follow_redirects': True
49
48
  }
50
49
 
51
50
 
52
51
  class SyncRequestContext(RequestContext):
53
52
  def __init__(self):
54
- self._client = httpx.Client()
53
+ self._client = httpx.Client(verify=False)
55
54
 
56
55
  def get(self, url: str, **kwargs):
57
56
  res = self._client.get(url, **self._proc_args(kwargs))
@@ -82,7 +81,7 @@ class SyncRequestContext(RequestContext):
82
81
 
83
82
  class AsyncRequestContext(RequestContext):
84
83
  def __init__(self):
85
- self._client = httpx.AsyncClient()
84
+ self._client = httpx.AsyncClient(verify=False)
86
85
 
87
86
  async def get(self, url: str, **kwargs):
88
87
  res = await self._client.get(url, **self._proc_args(kwargs))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: yjdata
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: yjdata SDK for Python
5
5
  Requires-Python: >=3.10
6
6
  Description-Content-Type: text/markdown
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