fathom-python 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.
- fathom/__init__.py +57 -0
- fathom/base_client.py +453 -0
- fathom/client.py +25 -0
- fathom/core/__init__.py +52 -0
- fathom/core/api_error.py +23 -0
- fathom/core/client_wrapper.py +76 -0
- fathom/core/datetime_utils.py +28 -0
- fathom/core/file.py +67 -0
- fathom/core/force_multipart.py +16 -0
- fathom/core/http_client.py +543 -0
- fathom/core/http_response.py +55 -0
- fathom/core/jsonable_encoder.py +100 -0
- fathom/core/pydantic_utilities.py +255 -0
- fathom/core/query_encoder.py +58 -0
- fathom/core/remove_none_from_dict.py +11 -0
- fathom/core/request_options.py +35 -0
- fathom/core/serialization.py +276 -0
- fathom/environment.py +7 -0
- fathom/errors/__init__.py +8 -0
- fathom/errors/bad_request_error.py +10 -0
- fathom/errors/unauthorized_error.py +10 -0
- fathom/py.typed +0 -0
- fathom/raw_base_client.py +512 -0
- fathom/types/__init__.py +45 -0
- fathom/types/action_item.py +29 -0
- fathom/types/assignee.py +21 -0
- fathom/types/crm_company_match.py +20 -0
- fathom/types/crm_contact_match.py +21 -0
- fathom/types/crm_deal_match.py +21 -0
- fathom/types/crm_matches.py +30 -0
- fathom/types/fathom_user.py +21 -0
- fathom/types/invitee.py +22 -0
- fathom/types/list_meetings_request_meeting_type.py +5 -0
- fathom/types/meeting.py +51 -0
- fathom/types/meeting_list_response.py +22 -0
- fathom/types/meeting_meeting_type.py +5 -0
- fathom/types/meeting_summary.py +20 -0
- fathom/types/team.py +21 -0
- fathom/types/team_list_response.py +22 -0
- fathom/types/team_member.py +22 -0
- fathom/types/team_member_list_response.py +22 -0
- fathom/types/transcript_item.py +25 -0
- fathom/types/transcript_item_speaker.py +20 -0
- fathom/version.py +3 -0
- fathom_python-0.0.23.dist-info/METADATA +151 -0
- fathom_python-0.0.23.dist-info/RECORD +47 -0
- fathom_python-0.0.23.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
from .crm_company_match import CrmCompanyMatch
|
|
8
|
+
from .crm_contact_match import CrmContactMatch
|
|
9
|
+
from .crm_deal_match import CrmDealMatch
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class CrmMatches(UniversalBaseModel):
|
|
13
|
+
"""
|
|
14
|
+
**Coming soon** - CRM match data is not yet available in API responses.
|
|
15
|
+
If no CRM is connected for the workspace, the `error` field will be populated.
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
contacts: typing.Optional[typing.List[CrmContactMatch]] = None
|
|
19
|
+
companies: typing.Optional[typing.List[CrmCompanyMatch]] = None
|
|
20
|
+
deals: typing.Optional[typing.List[CrmDealMatch]] = None
|
|
21
|
+
error: typing.Optional[str] = None
|
|
22
|
+
|
|
23
|
+
if IS_PYDANTIC_V2:
|
|
24
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
25
|
+
else:
|
|
26
|
+
|
|
27
|
+
class Config:
|
|
28
|
+
frozen = True
|
|
29
|
+
smart_union = True
|
|
30
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class FathomUser(UniversalBaseModel):
|
|
10
|
+
name: str
|
|
11
|
+
email: str
|
|
12
|
+
team: str
|
|
13
|
+
|
|
14
|
+
if IS_PYDANTIC_V2:
|
|
15
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
16
|
+
else:
|
|
17
|
+
|
|
18
|
+
class Config:
|
|
19
|
+
frozen = True
|
|
20
|
+
smart_union = True
|
|
21
|
+
extra = pydantic.Extra.allow
|
fathom/types/invitee.py
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class Invitee(UniversalBaseModel):
|
|
10
|
+
name: str
|
|
11
|
+
matched_speaker_display_name: typing.Optional[str] = None
|
|
12
|
+
email: str
|
|
13
|
+
is_external: bool
|
|
14
|
+
|
|
15
|
+
if IS_PYDANTIC_V2:
|
|
16
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
17
|
+
else:
|
|
18
|
+
|
|
19
|
+
class Config:
|
|
20
|
+
frozen = True
|
|
21
|
+
smart_union = True
|
|
22
|
+
extra = pydantic.Extra.allow
|
fathom/types/meeting.py
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import datetime as dt
|
|
4
|
+
import typing
|
|
5
|
+
|
|
6
|
+
import pydantic
|
|
7
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
8
|
+
from .action_item import ActionItem
|
|
9
|
+
from .crm_matches import CrmMatches
|
|
10
|
+
from .fathom_user import FathomUser
|
|
11
|
+
from .invitee import Invitee
|
|
12
|
+
from .meeting_meeting_type import MeetingMeetingType
|
|
13
|
+
from .meeting_summary import MeetingSummary
|
|
14
|
+
from .transcript_item import TranscriptItem
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class Meeting(UniversalBaseModel):
|
|
18
|
+
title: str
|
|
19
|
+
meeting_title: str = pydantic.Field()
|
|
20
|
+
"""
|
|
21
|
+
Calendar event title.
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
abstract: str = pydantic.Field()
|
|
25
|
+
"""
|
|
26
|
+
Short meeting summary.
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
url: str
|
|
30
|
+
share_url: str
|
|
31
|
+
created_at: dt.datetime
|
|
32
|
+
scheduled_start_time: dt.datetime
|
|
33
|
+
scheduled_end_time: dt.datetime
|
|
34
|
+
recording_start_time: dt.datetime
|
|
35
|
+
recording_end_time: dt.datetime
|
|
36
|
+
meeting_type: MeetingMeetingType
|
|
37
|
+
transcript: typing.Optional[typing.List[TranscriptItem]] = None
|
|
38
|
+
summary: typing.Optional[MeetingSummary] = None
|
|
39
|
+
action_items: typing.Optional[typing.List[ActionItem]] = None
|
|
40
|
+
calendar_invitees: typing.List[Invitee]
|
|
41
|
+
recorded_by: FathomUser
|
|
42
|
+
crm_matches: typing.Optional[CrmMatches] = None
|
|
43
|
+
|
|
44
|
+
if IS_PYDANTIC_V2:
|
|
45
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
46
|
+
else:
|
|
47
|
+
|
|
48
|
+
class Config:
|
|
49
|
+
frozen = True
|
|
50
|
+
smart_union = True
|
|
51
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
from .meeting import Meeting
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class MeetingListResponse(UniversalBaseModel):
|
|
11
|
+
limit: int
|
|
12
|
+
next_cursor: typing.Optional[str] = None
|
|
13
|
+
items: typing.List[Meeting]
|
|
14
|
+
|
|
15
|
+
if IS_PYDANTIC_V2:
|
|
16
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
17
|
+
else:
|
|
18
|
+
|
|
19
|
+
class Config:
|
|
20
|
+
frozen = True
|
|
21
|
+
smart_union = True
|
|
22
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class MeetingSummary(UniversalBaseModel):
|
|
10
|
+
template_name: str
|
|
11
|
+
markdown_formatted: str
|
|
12
|
+
|
|
13
|
+
if IS_PYDANTIC_V2:
|
|
14
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
15
|
+
else:
|
|
16
|
+
|
|
17
|
+
class Config:
|
|
18
|
+
frozen = True
|
|
19
|
+
smart_union = True
|
|
20
|
+
extra = pydantic.Extra.allow
|
fathom/types/team.py
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import datetime as dt
|
|
4
|
+
import typing
|
|
5
|
+
|
|
6
|
+
import pydantic
|
|
7
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Team(UniversalBaseModel):
|
|
11
|
+
name: str
|
|
12
|
+
created_at: dt.datetime
|
|
13
|
+
|
|
14
|
+
if IS_PYDANTIC_V2:
|
|
15
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
16
|
+
else:
|
|
17
|
+
|
|
18
|
+
class Config:
|
|
19
|
+
frozen = True
|
|
20
|
+
smart_union = True
|
|
21
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
from .team import Team
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class TeamListResponse(UniversalBaseModel):
|
|
11
|
+
limit: int
|
|
12
|
+
next_cursor: typing.Optional[str] = None
|
|
13
|
+
items: typing.List[Team]
|
|
14
|
+
|
|
15
|
+
if IS_PYDANTIC_V2:
|
|
16
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
17
|
+
else:
|
|
18
|
+
|
|
19
|
+
class Config:
|
|
20
|
+
frozen = True
|
|
21
|
+
smart_union = True
|
|
22
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import datetime as dt
|
|
4
|
+
import typing
|
|
5
|
+
|
|
6
|
+
import pydantic
|
|
7
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class TeamMember(UniversalBaseModel):
|
|
11
|
+
name: str
|
|
12
|
+
email: str
|
|
13
|
+
created_at: dt.datetime
|
|
14
|
+
|
|
15
|
+
if IS_PYDANTIC_V2:
|
|
16
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
17
|
+
else:
|
|
18
|
+
|
|
19
|
+
class Config:
|
|
20
|
+
frozen = True
|
|
21
|
+
smart_union = True
|
|
22
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
from .team_member import TeamMember
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class TeamMemberListResponse(UniversalBaseModel):
|
|
11
|
+
limit: int
|
|
12
|
+
next_cursor: typing.Optional[str] = None
|
|
13
|
+
items: typing.List[TeamMember]
|
|
14
|
+
|
|
15
|
+
if IS_PYDANTIC_V2:
|
|
16
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
17
|
+
else:
|
|
18
|
+
|
|
19
|
+
class Config:
|
|
20
|
+
frozen = True
|
|
21
|
+
smart_union = True
|
|
22
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
from .transcript_item_speaker import TranscriptItemSpeaker
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class TranscriptItem(UniversalBaseModel):
|
|
11
|
+
speaker: TranscriptItemSpeaker
|
|
12
|
+
text: str
|
|
13
|
+
timestamp: str = pydantic.Field()
|
|
14
|
+
"""
|
|
15
|
+
Timestamp relative to the start of the meeting (HH:MM:SS).
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
if IS_PYDANTIC_V2:
|
|
19
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
20
|
+
else:
|
|
21
|
+
|
|
22
|
+
class Config:
|
|
23
|
+
frozen = True
|
|
24
|
+
smart_union = True
|
|
25
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class TranscriptItemSpeaker(UniversalBaseModel):
|
|
10
|
+
display_name: str
|
|
11
|
+
matched_calendar_invitee_email: str
|
|
12
|
+
|
|
13
|
+
if IS_PYDANTIC_V2:
|
|
14
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
15
|
+
else:
|
|
16
|
+
|
|
17
|
+
class Config:
|
|
18
|
+
frozen = True
|
|
19
|
+
smart_union = True
|
|
20
|
+
extra = pydantic.Extra.allow
|
fathom/version.py
ADDED
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: fathom-python
|
|
3
|
+
Version: 0.0.23
|
|
4
|
+
Summary:
|
|
5
|
+
Requires-Python: >=3.8,<4.0
|
|
6
|
+
Classifier: Intended Audience :: Developers
|
|
7
|
+
Classifier: Operating System :: MacOS
|
|
8
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
9
|
+
Classifier: Operating System :: OS Independent
|
|
10
|
+
Classifier: Operating System :: POSIX
|
|
11
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
12
|
+
Classifier: Programming Language :: Python
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
20
|
+
Classifier: Typing :: Typed
|
|
21
|
+
Requires-Dist: httpx (>=0.21.2)
|
|
22
|
+
Requires-Dist: pydantic (>=1.9.2)
|
|
23
|
+
Requires-Dist: pydantic-core (>=2.18.2,<3.0.0)
|
|
24
|
+
Requires-Dist: svix (==1.65.0)
|
|
25
|
+
Requires-Dist: typing_extensions (>=4.0.0)
|
|
26
|
+
Description-Content-Type: text/markdown
|
|
27
|
+
|
|
28
|
+
# Fathom Python Library
|
|
29
|
+
|
|
30
|
+
[](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2Ffathom-video%2Ffathom-python)
|
|
31
|
+
[](https://pypi.python.org/pypi/fathom)
|
|
32
|
+
|
|
33
|
+
The Fathom Python library provides convenient access to the Fathom API from Python.
|
|
34
|
+
|
|
35
|
+
## Installation
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
pip install fathom
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Reference
|
|
42
|
+
|
|
43
|
+
A full reference for this library is available [here](./reference.md).
|
|
44
|
+
|
|
45
|
+
## Usage
|
|
46
|
+
|
|
47
|
+
Instantiate and use the client with the following:
|
|
48
|
+
|
|
49
|
+
```python
|
|
50
|
+
from fathom import FathomApi
|
|
51
|
+
client = FathomApi(api_key="YOUR_API_KEY", )
|
|
52
|
+
client.list_meetings()
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Async Client
|
|
56
|
+
|
|
57
|
+
The SDK also exports an `async` client so that you can make non-blocking calls to our API.
|
|
58
|
+
|
|
59
|
+
```python
|
|
60
|
+
from fathom import AsyncFathomApi
|
|
61
|
+
import asyncio
|
|
62
|
+
client = AsyncFathomApi(api_key="YOUR_API_KEY", )
|
|
63
|
+
async def main() -> None:
|
|
64
|
+
await client.list_meetings()
|
|
65
|
+
asyncio.run(main())
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Exception Handling
|
|
69
|
+
|
|
70
|
+
When the API returns a non-success status code (4xx or 5xx response), a subclass of the following error
|
|
71
|
+
will be thrown.
|
|
72
|
+
|
|
73
|
+
```python
|
|
74
|
+
from fathom.core.api_error import ApiError
|
|
75
|
+
try:
|
|
76
|
+
client.list_meetings(...)
|
|
77
|
+
except ApiError as e:
|
|
78
|
+
print(e.status_code)
|
|
79
|
+
print(e.body)
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## Advanced
|
|
83
|
+
|
|
84
|
+
### Access Raw Response Data
|
|
85
|
+
|
|
86
|
+
The SDK provides access to raw response data, including headers, through the `.with_raw_response` property.
|
|
87
|
+
The `.with_raw_response` property returns a "raw" client that can be used to access the `.headers` and `.data` attributes.
|
|
88
|
+
|
|
89
|
+
```python
|
|
90
|
+
from fathom import FathomApi
|
|
91
|
+
client = FathomApi(..., )
|
|
92
|
+
response = client.with_raw_response.list_meetings(...)
|
|
93
|
+
print(response.headers) # access the response headers
|
|
94
|
+
print(response.data) # access the underlying object
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
### Retries
|
|
98
|
+
|
|
99
|
+
The SDK is instrumented with automatic retries with exponential backoff. A request will be retried as long
|
|
100
|
+
as the request is deemed retryable and the number of retry attempts has not grown larger than the configured
|
|
101
|
+
retry limit (default: 2).
|
|
102
|
+
|
|
103
|
+
A request is deemed retryable when any of the following HTTP status codes is returned:
|
|
104
|
+
|
|
105
|
+
- [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout)
|
|
106
|
+
- [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests)
|
|
107
|
+
- [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500) (Internal Server Errors)
|
|
108
|
+
|
|
109
|
+
Use the `max_retries` request option to configure this behavior.
|
|
110
|
+
|
|
111
|
+
```python
|
|
112
|
+
client.list_meetings(..., request_options={
|
|
113
|
+
"max_retries": 1
|
|
114
|
+
})
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
### Timeouts
|
|
118
|
+
|
|
119
|
+
The SDK defaults to a 60 second timeout. You can configure this with a timeout option at the client or request level.
|
|
120
|
+
|
|
121
|
+
```python
|
|
122
|
+
|
|
123
|
+
from fathom import FathomApi
|
|
124
|
+
client = FathomApi(..., timeout=20.0, )
|
|
125
|
+
|
|
126
|
+
# Override timeout for a specific method
|
|
127
|
+
client.list_meetings(..., request_options={
|
|
128
|
+
"timeout_in_seconds": 1
|
|
129
|
+
})
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
### Custom Client
|
|
133
|
+
|
|
134
|
+
You can override the `httpx` client to customize it for your use-case. Some common use-cases include support for proxies
|
|
135
|
+
and transports.
|
|
136
|
+
|
|
137
|
+
```python
|
|
138
|
+
from fathom import FathomApi
|
|
139
|
+
import httpx
|
|
140
|
+
client = FathomApi(..., httpx_client=httpx.Client(proxies="http://my.test.proxy.example.com", transport=httpx.HTTPTransport(local_address="0.0.0.0"), ))```
|
|
141
|
+
|
|
142
|
+
## Contributing
|
|
143
|
+
|
|
144
|
+
While we value open-source contributions to this SDK, this library is generated programmatically.
|
|
145
|
+
Additions made directly to this library would have to be moved over to our generation code,
|
|
146
|
+
otherwise they would be overwritten upon the next generated release. Feel free to open a PR as
|
|
147
|
+
a proof of concept, but know that we will not be able to merge it as-is. We suggest opening
|
|
148
|
+
an issue first to discuss with us!
|
|
149
|
+
|
|
150
|
+
On the other hand, contributions to the README are always very welcome!
|
|
151
|
+
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
fathom/__init__.py,sha256=l4NxklMXsASEM7srKWkK9i_D4PDsciGCU4qBqsogPxg,1221
|
|
2
|
+
fathom/base_client.py,sha256=QP_y1Xh_yx75ZHPzoSmBJK_Xg_2MVco9l3qsqErgVxA,16412
|
|
3
|
+
fathom/client.py,sha256=8o_WuoWBVyKB6xDmqqZqOJCBJia8eGrapg0Q6yzNUeg,500
|
|
4
|
+
fathom/core/__init__.py,sha256=lTcqUPXcx4112yLDd70RAPeqq6tu3eFMe1pKOqkW9JQ,1562
|
|
5
|
+
fathom/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
|
|
6
|
+
fathom/core/client_wrapper.py,sha256=9gFHpZ9-fIM-Qqm7hwPjSeblFinrWgsnENi7vx99ASQ,2220
|
|
7
|
+
fathom/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
8
|
+
fathom/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
9
|
+
fathom/core/force_multipart.py,sha256=awxh5MtcRYe74ehY8U76jzv6fYM_w_D3Rur7KQQzSDk,429
|
|
10
|
+
fathom/core/http_client.py,sha256=QurkBvCZZz2Z1d8znp4M2YbOXebBUPcPXRhPIS84Wvk,21214
|
|
11
|
+
fathom/core/http_response.py,sha256=4uOAtXXFTyFXHLXeQWSfQST9PGcOCRAdHVgGTxdyg84,1334
|
|
12
|
+
fathom/core/jsonable_encoder.py,sha256=hGgcEEeX11sqxxsll7h15pO3pTNVxk_n79Kcn0laoWA,3655
|
|
13
|
+
fathom/core/pydantic_utilities.py,sha256=HxbbISfaP1XBvzbIkc0ZcF_GHKd9BfYsJAcFh9B126k,10787
|
|
14
|
+
fathom/core/query_encoder.py,sha256=ekulqNd0j8TgD7ox-Qbz7liqX8-KP9blvT9DsRCenYM,2144
|
|
15
|
+
fathom/core/remove_none_from_dict.py,sha256=EU9SGgYidWq7SexuJbNs4-PZ-5Bl3Vppd864mS6vQZw,342
|
|
16
|
+
fathom/core/request_options.py,sha256=h0QUNCFVdCW_7GclVySCAY2w4NhtXVBUCmHgmzaxpcg,1681
|
|
17
|
+
fathom/core/serialization.py,sha256=ECL3bvv_0i7U4uvPidZCNel--MUbA0iq0aGcNKi3kws,9818
|
|
18
|
+
fathom/environment.py,sha256=stpdBT4-md-XrX7R9nT0iF3sdnLhOZf4eNeIfYg74NA,165
|
|
19
|
+
fathom/errors/__init__.py,sha256=Ua3Z6OWyRhcgrq0FSXOpwmOc4RxyTgzP2LXbkzGbMhk,234
|
|
20
|
+
fathom/errors/bad_request_error.py,sha256=PnE3v3kETCXm9E3LiNcHLNtjPEUvpe98-r59q-kQb78,338
|
|
21
|
+
fathom/errors/unauthorized_error.py,sha256=mryinHCAaknn5St2VF17R9XybZUcWRRYWEjxg63dQSA,340
|
|
22
|
+
fathom/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
23
|
+
fathom/raw_base_client.py,sha256=PUMmbRqTNIDZ2CZQ7j90jOgMkUbRvJiCcRwh106ThFQ,20197
|
|
24
|
+
fathom/types/__init__.py,sha256=Q0EMWBgFpA3vP3JPSIEQ01ek63ptoInTP7dEYoYslSs,1350
|
|
25
|
+
fathom/types/action_item.py,sha256=38_AS_A4EPNfF0PrS_236EB5WT42G9f_bP03gC_r2e4,785
|
|
26
|
+
fathom/types/assignee.py,sha256=qLdp-WKJF06ECB9VZNg08ce3FaotXRbU5CqGx8IOwH0,544
|
|
27
|
+
fathom/types/crm_company_match.py,sha256=Eb4ai8sE0hbeJCYpO_qHk_RiE_qbsvUmLsc_dF59NZU,542
|
|
28
|
+
fathom/types/crm_contact_match.py,sha256=hPi_-tVuCU6y-kmx9PYNbpMgEJmLSfPsXErSac16Ag0,557
|
|
29
|
+
fathom/types/crm_deal_match.py,sha256=m3VCj78bg0m-AGyLYNt7oNj8fJ7ebgWuRwrROoL70Y0,555
|
|
30
|
+
fathom/types/crm_matches.py,sha256=c_KwylurVtz-un2m2Dmm1SSiGZgpr-z_Tbw1IIdt7bw,1049
|
|
31
|
+
fathom/types/fathom_user.py,sha256=9obk5VSqgQ1_zC5pwgjQTVW-8yGtNrZyVDo9GzYpWwY,546
|
|
32
|
+
fathom/types/invitee.py,sha256=XWoooSUrs9aG30pr14I-DP_uz5Owbb8zeUK92Vj7si8,613
|
|
33
|
+
fathom/types/list_meetings_request_meeting_type.py,sha256=SuiWhjvW_6CrfxfcPx5MkzHMfVMa1R94WnVFcsDUkyw,185
|
|
34
|
+
fathom/types/meeting.py,sha256=6UdyHnW9HvqEArRdMzBDwt9WuQfBndxj11iSIREXsdk,1536
|
|
35
|
+
fathom/types/meeting_list_response.py,sha256=zOLT9Y-vc4qJ_ExdsM_k_l0PaVJhzCg6ehlCqZDDhY4,633
|
|
36
|
+
fathom/types/meeting_meeting_type.py,sha256=RDatwTAHwLn7U5mvkWJupIcWqYpGGd_bZPBXUtPb6Q8,166
|
|
37
|
+
fathom/types/meeting_summary.py,sha256=7Vjw9k4rSM7yxmQyi0UAd1dQ0nySgP-Wj_ODL3Kvq_M,558
|
|
38
|
+
fathom/types/team.py,sha256=Gcu_IVvtHFZCyEqZBYYOWss0J5O9Vua_QbktgFMjA9k,561
|
|
39
|
+
fathom/types/team_list_response.py,sha256=W250dq54c5Dw4tEPgxAtlPnweGJBsy2nFJIpkMu2y4o,621
|
|
40
|
+
fathom/types/team_member.py,sha256=xfjNSzHqblbskPz8AfK-sbXHJFEQf1ERO7SlEZYgWlo,582
|
|
41
|
+
fathom/types/team_member_list_response.py,sha256=ryj2LciQ7YIjaIrlRISVOYS1Eak1e5SLR7HBKoFeb5s,646
|
|
42
|
+
fathom/types/transcript_item.py,sha256=Iooc8CqKxrjxp5CjG-ZWgSzhThWe3h3RF7E6zLbUAwY,732
|
|
43
|
+
fathom/types/transcript_item_speaker.py,sha256=EWlTwtCUeE42miXWPH8jVV5QLcy9_kerweQT9_NJ1lc,576
|
|
44
|
+
fathom/version.py,sha256=ZqzW2It05JBdkkFCwQ_n2tpcYp3ivm-jvdflQl2gd6A,80
|
|
45
|
+
fathom_python-0.0.23.dist-info/METADATA,sha256=L5e-_5qBgwxg01Ack1fQb5eHYqFUITv7Apl9Uuz9Me4,4856
|
|
46
|
+
fathom_python-0.0.23.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
47
|
+
fathom_python-0.0.23.dist-info/RECORD,,
|