Closed yazdipour closed 5 months ago
This pull request refactors the query loading mechanism in omnivoreql.py to load queries on demand using a new _get_query method. It also renames clientRequestId to client_request_id for consistency and adds new methods for setting labels on pages. Corresponding tests in tests/test_omnivoreql.py have been updated and new tests added to cover the new functionality.
Files | Changes |
---|---|
omnivoreql/omnivoreql.py tests/test_omnivoreql.py |
Refactored query loading mechanism and added new methods for setting page labels. Updated tests to cover new methods and refactored existing tests for consistency. |
ℹ Additional Information
Summary by Sourcery
This pull request refactors the query loading mechanism, introduces new methods for setting page labels, and renames a parameter for consistency. It also includes updates and additions to the test suite to cover these changes.
set_page_labels
,set_page_labels_by_fields
, andset_page_labels_by_ids
to set labels for a page.clientRequestId
toclient_request_id
for consistency._get_query
method.set_page_labels_by_fields
andset_page_labels_by_ids
.client_request_id
parameter and to include labels where applicable.