- Rename retrieve_engine_queue_stats to retrieve_engine_queues
(
7583358
)
The new name better conveys the essence that we're retrieving only a list of queues associated with the given engine. The docstring pointing to official documentation was also corrected.
-
Add more information to APIClientError (
53d0781
) -
Add support for filters in export helper methods (
8a94d6f
)
-
Remove 'button' possibility for EngineField.type as it should not happen (
da698b0
) -
Use _iter_over_async instead of _run_coroutine and Iterator instead of list (
9540929
)
Fixing several implementation as well as typing errors introduced in one of the recent pull requests.
- Reformat method parameters - do not break lines if not necessary
(
31537af
)
- Support retrieval of Queues associated with the given Engine
(
8aee3d4
)
- Correct resource name in sideloading test integration test
(
a419002
)
- Add support for retrieving EngineFields
(
c976954
)
- Extract sideloading logic into domain logic
(
080b7af
)
...and use inflect to convert resource names to singular.
- Prevent race condition over the asyncio event loop in ThreadPoolExecutor
(
6a4d922
)
-
Extract Resource into domain logic (
99ec60c
) -
Extract URL domain logic into a reusable module (
826fcd5
)
- Do not crash when running sync client in async context
(
0038e4a
)
The asyncio code is now executed in a ThreadPoolExecutor to avoid problems with multiple event loops.
- Fix tests by pinning pytest-httpx
(
a0c0eeb
)
0.22 is the last version that works with Python 3.8.
- Improve readability of assert in XML export test
(
4c88b7e
)
- Retry also on request/HTTP errors during authentication
(
3bae7da
)
When Elis API fails intermittently, we were not retrying which leads to unnecessary failures in production when the client is used.
- Fix naming in queues tests
(
2c51b64
)
-
Add cancel annotation method (
a217b64
) -
Add new methods for hook object (
232269f
) -
Add retrieve document method (
4edac76
)
- Handle http:// urls for local development
(
715513d
)
- Add basic support for EmailTemplate object
(
0dc2882
)
- Fix typing of filters kwargs in sync client
(
7ae75e1
)
- Use Iterator instead of Iterable types
(
77edb52
)
Iterator is a better type for the method return value, since it correctly type checks the use of
next()
. Iterable interface doesn't.
-
Add support for Task and Upload objects (
6e582a9
) -
Upload documents using new upload endpoint (
9ff22d9
)
- Add missing type hint for list_all_organizations
(
86fb228
)
- feat: Add delete_annotation method
- Fix package versioning
(
d3b5e88
)
- Remove semantic-release version_variable
(
9d5d101
)
- Add support for engine object
(
c6ad1d5
)
- Add py.typed and let the world know we use types
(
9415403
)
- Make User.last_login optional
(
406b16b
)
- api-client: Do not reauth if no credentials are available
(
9b5f422
)
- models:automation_blocker: Fix type of
samples
(b36d6a8
)
- pre-commit: Update mypy
(
06d2272
)
- Do not send None parent when creating new document
(
95f3fbc
)
- Improve client docstrings
(
94e8522
)
- Consider new created status when checking if annotation is already imported
(
7c66c63
)
-
Add new create_new_annotation method (
7354ec7
) -
Add new create_new_document method (
4affb67
) -
Add new retrieve_document_content method (
4057e9c
)
- Remove side-effects from tests with sideloads
(
c3f8130
)
dummy_annotation was modified by a side-effect and the expected values didn't need to add content which was confusing.
- Add convenience methods for annotation lifecycle
(
cf56272
)
- Rename UserRole to Group for consistency with the API
(
ed8065a
)
- Streamline Makefile and improve README
(
0b1064f
)
- Support deserializing of API payloads to user-defined model classes
(
a1e1385
)
Users can provide a custom deserializer that allows customising which models should be returned by the client.
- Use an enum instead of strings to identify API resources
(
acbf731
)
This is not only cleaner but will be useful when implementing custom de-serializers.
- api_client: Limit in-flight requests
(
56244d0
)
Limit the maximum number of fetch_all page requests running at in parallel.
- Export public interface in root package
(
f85fc58
)
-
api_client: Allow passing json argument in
fetch_all
as request payload (e433f85
) -
elis_api_clients: Add new
search_for_annotations
method (34b3f72
)
- models: Add token_lifetime_s attribute to hook model
(
f75dcfd
)
- Make time_spent in Annotation optional
(
a2e5d70
)
- Add await to asyncio.sleep
(
4a537ab
)
-
models: Allow Any in metadata dict values in Queue model (
7abaa13
) -
models: Allow null workspace in Queue model (
dea0027
)
- elis_api_client: Add generic method for requests to paginated resources
(
6b290e8
)
- Run test workflow also on pull requests
(
0ca9b43
)
- api_client: Allow to set max pages limit in filters
(
090114f
)
- Switch from TravisCI to Github Workflows
(
de09e69
)
- Fix semantic release
(
f1e56a5
)
- rossum_sdk/api_client: Add
request
method to ElisApiClient (5d11c3e
)
Co-authored-by: Ondrej Slama [email protected]
- models:hook: Define some attributes (guide, read_more_url, extension_image_url) as optional
(
b16a456
)
-
Add pre-commit hook for commit messages (
e641469
) -
Do not run commitizen when there is no commit (
4f534d5
) -
Fix mypy installation in pre-commit by upgrading it (
5d4b387
)
The old version installed a version of types-ats
that caused a crash during pre-commit
installation.
- Fix tests that started failing with pytest-httpx==0.21.2
(
da18d27
)
The library no longer ignores missing empty URL parameters when matching URLs.
- Run semrel only once
(
3b9392a
)
- Add get_token method to Api client
(
a1bc957
)
- Add request_json method to ElisAPIClient
(
6c2df87
)
- Implement retrying of failed requests
(
09ab473
)
APIClient now accepts retry configuration where number of retries and backoff can be configured.
- Change Annotation.confirmed_at type to str instead of datetime
(
40597bb
)
- Allow null Organization.trial_expires_at in the model
(
dd95716
)
- Making dependency requirements more relaxed
(
80526da
)
- Introduce semantic releasing
(
a485874
)
- readme: Add helper page, add makefile
(
1c95bea
)
- First github release by semantic releasing
(
7dd7780
)
- api_client: Reauth correct exception handling
(
5c0d728
)