earningscall 0.0.22__py3-none-any.whl → 0.0.23__py3-none-any.whl

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.
earningscall/api.py CHANGED
@@ -1,4 +1,5 @@
1
1
  import importlib
2
+ import urllib.parse
2
3
  import logging
3
4
  import os
4
5
  from importlib.metadata import PackageNotFoundError
@@ -83,7 +84,9 @@ def do_get(
83
84
  **kwargs.get("params", {}),
84
85
  }
85
86
  url = f"{API_BASE}/{path}"
86
- log.debug(f"do_get url: {url} params: {params}")
87
+ if log.isEnabledFor(logging.DEBUG):
88
+ full_url = f"{url}?{urllib.parse.urlencode(params)}"
89
+ log.debug(f"GET: {full_url}")
87
90
  if use_cache and earningscall.enable_requests_cache:
88
91
  return cache_session().get(url, params=params)
89
92
  else:
@@ -9,8 +9,8 @@ from earningscall.event import EarningsEvent
9
9
  @dataclass_json
10
10
  @dataclass
11
11
  class SpeakerInfo:
12
- name: str
13
- title: str
12
+ name: Optional[str] = field(default=None)
13
+ title: Optional[str] = field(default=None)
14
14
 
15
15
 
16
16
  @dataclass_json
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: earningscall
3
- Version: 0.0.22
3
+ Version: 0.0.23
4
4
  Summary: The EarningsCall Python library provides convenient access to the EarningsCall API. It includes a pre-defined set of classes for API resources that initialize themselves dynamically from API responses.
5
5
  Project-URL: Homepage, https://earningscall.biz
6
6
  Project-URL: Documentation, https://github.com/EarningsCall/earningscall-python
@@ -1,14 +1,14 @@
1
1
  earningscall/__init__.py,sha256=0mANmPlE7LEWtOGzV2cmmlPfBIWBWlWRDkyqPHJ1jm8,333
2
- earningscall/api.py,sha256=NkYtMO9yq870Y2s_hWZni-scdc3DA2MO4MyQDAFNgws,5152
2
+ earningscall/api.py,sha256=uMhsvmkA92w-pCybJzVeGxK3RxZqNhOiQe5zs1Jl-7A,5258
3
3
  earningscall/company.py,sha256=8HPM_UEoUUOW6mCESktBLpm63HydSk34GWyIv6vZdpw,6625
4
4
  earningscall/errors.py,sha256=EA-d6qIYgQs9csp8JptQiAaYoM0M9HhCGJgKA9GAWPg,440
5
5
  earningscall/event.py,sha256=Jf7KPvpeaF9KkeHe46LbL_HIYLXkyHrs3psq-ZY-bkI,692
6
6
  earningscall/exports.py,sha256=i9UWHY6Lq1OzZTZX_1SdNzrNd_PSlPwpB337lGMK4oM,837
7
7
  earningscall/sectors.py,sha256=Xd6DLkAQ_fQkC2s-N9pReC8b_M3iy77OoFftoZj9FWY,5114
8
8
  earningscall/symbols.py,sha256=39tL7oP1HT8BturwKW7mgS33dX2Y_X8cw5GKK0aV02k,6354
9
- earningscall/transcript.py,sha256=970kq1-cDOOyuY630bH1-nwWuPHv9K0gABH2HtCEddQ,943
9
+ earningscall/transcript.py,sha256=P-CeTYhE5T78SXDHFEJ0AlVUFz2XPxDMtkeiorziBiw,1007
10
10
  earningscall/utils.py,sha256=Qx8KhlumUdzyBSZRKMS6vpWlb8MGZpLKA4OffJaMdCE,1032
11
- earningscall-0.0.22.dist-info/METADATA,sha256=gaiZWluFyCgXDXxuuZpO5TsNhmulf62TaM8Opwq2CfY,13106
12
- earningscall-0.0.22.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
13
- earningscall-0.0.22.dist-info/licenses/LICENSE,sha256=ktEB_UcRMg2cQlX9wiDs544xWncWizwS9mEZuGsCLrM,1069
14
- earningscall-0.0.22.dist-info/RECORD,,
11
+ earningscall-0.0.23.dist-info/METADATA,sha256=sg46aFXdcwC-R8AVLQ0BRS9D6fRYk2iV2wwQHCjf5C0,13106
12
+ earningscall-0.0.23.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
13
+ earningscall-0.0.23.dist-info/licenses/LICENSE,sha256=ktEB_UcRMg2cQlX9wiDs544xWncWizwS9mEZuGsCLrM,1069
14
+ earningscall-0.0.23.dist-info/RECORD,,