0
Commit Graph

29 Commits

Author SHA1 Message Date
Matt Joyce
6fd9ce1c89 type hints and linting 2024-06-08 11:46:52 +10:00
Matt Joyce
7477c5e5bd Use error handler consistently 2024-06-08 11:28:51 +10:00
Matt Joyce
9f306736af More detailed error handling 2024-06-08 11:18:30 +10:00
Matt Joyce
c71ea7a795 Prepare headers consistently 2024-06-08 11:08:26 +10:00
Matt Joyce
8f9a165c2f Lint - whitespace 2024-06-08 08:03:02 +10:00
Matt Joyce
5f0df596ec Align param name with JS SDK
timeout becomes poll_interval
2024-06-08 07:37:08 +10:00
Nicolas
2139129296 Nick: v12 2024-05-31 11:39:55 -07:00
rafaelsideguide
d39860c08b Merge branch 'main' into feat/idempotency-key 2024-05-24 14:15:37 -03:00
Nicolas
8c380d70a5
Update firecrawl.py 2024-05-24 09:48:48 -07:00
Nicolas
65fe9c4f80
Merge branch 'main' into main 2024-05-24 09:47:12 -07:00
Rafael Miller
53a7ec0f6e
Removed hard coded timeout 2024-05-24 13:46:16 -03:00
rafaelsideguide
c201ea1986 added idempotency key to python sdk 2024-05-23 12:52:59 -03:00
Matt Joyce
106c18d11f Use truthiness check for 'success' key in API response
PyLint C0121
2024-05-23 08:57:53 +10:00
Matt Joyce
48e91c89e7 Removed unnecessary If block
PyLint R1731
2024-05-23 08:42:07 +10:00
Matt Joyce
7d2efe5acb Added request timeouts
connection timeout to 5 seconds and the response timeout to 10
PyLint W3101
2024-05-23 08:39:19 +10:00
Matt Joyce
96b19172a1 Removed trailing whitespace
PyLint C0303: Trailing whitespace (trailing-whitespace)
2024-05-23 08:30:23 +10:00
Matt Joyce
6216c85322 Time module already imported
Pylint
W0404: Reimport 'time' (imported line 16) (reimported)
C0415: Import outside toplevel (time) (import-outside-toplevel)
2024-05-23 08:21:32 +10:00
Matt Joyce
8adf2b7132 Added Docstrings for functions
PyLint C0116: Missing function or method docstring (missing-function-docstring)
2024-05-23 08:20:32 +10:00
Matt Joyce
971e1f85c4 Added module docstring
PyLint C0114 - missing-module-docstring
2024-05-23 08:03:58 +10:00
Matt Joyce
8d041c05b4 rearranged logic for FIRECRAWL_API_URL
It would not use the ENV unless the param was set to None which was counter-intuitive.
2024-05-23 08:00:56 +10:00
rafaelsideguide
f9ae1729b6 Update firecrawl.py 2024-05-22 09:40:38 -03:00
Matt Joyce
7e5ef4dec4 Allow override of API URL
Allows python sdk to be used with local installs.
2024-05-20 18:46:32 +10:00
Nicolas
ade4e05cff Nick: working 2024-05-15 17:13:04 -07:00
Nicolas
4c88d5da66 Nick: v8 python 2024-05-08 17:35:16 -07:00
Nicolas
e6dbbf1bab Nick: fixes js and pydantic implementation 2024-05-08 17:16:59 -07:00
Rafael Miller
71bdbf9f15
Merge pull request #67 from mendableai/feat/python-sdk-502
[Feat] Implemented retry attempts to handle 502 errors
2024-04-29 08:38:19 -03:00
Nicolas
a32e16a9be Nick: added /search to the python sdk 2024-04-25 11:20:35 -07:00
rafaelsideguide
d3ab2ea926 [Feat] Implemented retry attempts to handle 502 errors 2024-04-25 10:51:01 -03:00
Nicolas
a6c2a87811 Initial commit 2024-04-15 17:01:47 -04:00