kodexa 7.4.413792657062__py3-none-any.whl → 7.4.413824212111__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.
- kodexa/platform/client.py +4 -4
- {kodexa-7.4.413792657062.dist-info → kodexa-7.4.413824212111.dist-info}/METADATA +1 -1
- {kodexa-7.4.413792657062.dist-info → kodexa-7.4.413824212111.dist-info}/RECORD +5 -5
- {kodexa-7.4.413792657062.dist-info → kodexa-7.4.413824212111.dist-info}/LICENSE +0 -0
- {kodexa-7.4.413792657062.dist-info → kodexa-7.4.413824212111.dist-info}/WHEEL +0 -0
kodexa/platform/client.py
CHANGED
@@ -5775,7 +5775,7 @@ class DocumentStoreEndpoint(StoreEndpoint):
|
|
5775
5775
|
document_family_response.json()
|
5776
5776
|
).set_client(self.client)
|
5777
5777
|
|
5778
|
-
def stream_query(self, query: str = "*", sort=None, limit=None):
|
5778
|
+
def stream_query(self, query: str = "*", sort=None, limit=None, page_size=5):
|
5779
5779
|
"""
|
5780
5780
|
Stream the query for the document family.
|
5781
5781
|
|
@@ -5783,11 +5783,11 @@ class DocumentStoreEndpoint(StoreEndpoint):
|
|
5783
5783
|
query (str, optional): The query to run. Defaults to "*".
|
5784
5784
|
sort (str, optional): Sorting order of the query. Defaults to None.
|
5785
5785
|
limit (int, optional): The maximum number of items to return. Defaults to None.
|
5786
|
+
page_size (int, optional): Pagination size for the streaming
|
5786
5787
|
|
5787
5788
|
Returns:
|
5788
5789
|
generator: A generator of the document families.
|
5789
5790
|
"""
|
5790
|
-
page_size = 5
|
5791
5791
|
page = 1
|
5792
5792
|
number_of_items = 0
|
5793
5793
|
|
@@ -5841,7 +5841,7 @@ class DocumentStoreEndpoint(StoreEndpoint):
|
|
5841
5841
|
get_response.json()
|
5842
5842
|
).set_client(self.client)
|
5843
5843
|
|
5844
|
-
def stream_filter(self, filter_string: str = "", sort=None, limit=None):
|
5844
|
+
def stream_filter(self, filter_string: str = "", sort=None, limit=None, page_size=5):
|
5845
5845
|
"""
|
5846
5846
|
Stream the filter for the document family.
|
5847
5847
|
|
@@ -5849,11 +5849,11 @@ class DocumentStoreEndpoint(StoreEndpoint):
|
|
5849
5849
|
filter_string (str, optional): The filter string to use. Defaults to "".
|
5850
5850
|
sort (str, optional): Sorting order of the query. Defaults to None.
|
5851
5851
|
limit (int, optional): The maximum number of items to return. Defaults to None.
|
5852
|
+
page_size (int, optional): The pagination size for the streaming
|
5852
5853
|
|
5853
5854
|
Returns:
|
5854
5855
|
generator: A generator of the document families.
|
5855
5856
|
"""
|
5856
|
-
page_size = 5
|
5857
5857
|
page = 1
|
5858
5858
|
count = 0
|
5859
5859
|
if not sort:
|
@@ -19,7 +19,7 @@ kodexa/model/utils.py,sha256=YEG3f8YzBil06D0P3_dfx2S9GnHREzyrjnlWwQ7oPlU,3038
|
|
19
19
|
kodexa/pipeline/__init__.py,sha256=sA7f5D6qkdMrpp2xTIeefnrUBI6xxEEWostvxfX_1Cs,236
|
20
20
|
kodexa/pipeline/pipeline.py,sha256=zyNEpA7KlGhPs_l-vgV6m-OCb16dbxQhl8QezeylugA,25540
|
21
21
|
kodexa/platform/__init__.py,sha256=1O3oiWMg292NPL_NacKDnK1T3_R6cMorrPRue_9e-O4,216
|
22
|
-
kodexa/platform/client.py,sha256=
|
22
|
+
kodexa/platform/client.py,sha256=c1okoTPob-TgRhH3qve4WumMwKAFMfzOxuOIrjg-wM4,234387
|
23
23
|
kodexa/platform/interaction.py,sha256=6zpcwXKNZstUGNS6m4JsoRXAqCZPJHWI-ZN3co8nnF0,1055
|
24
24
|
kodexa/platform/kodexa.py,sha256=MUkJx0g-92R0JxoOTUubFqDP4YriXreCSLy6s46XPmo,35102
|
25
25
|
kodexa/selectors/__init__.py,sha256=xA9-4vpyaAZWPSk3bh2kvDLkdv6XEmm7PjFbpziiTIk,100
|
@@ -44,7 +44,7 @@ kodexa/testing/test_utils.py,sha256=v44p__gE7ia67W7WeHN2HBFCWSCUrCZt7G4xBNCmwf8,
|
|
44
44
|
kodexa/training/__init__.py,sha256=xs2L62YpRkIRfslQwtQZ5Yxjhm7sLzX2TrVX6EuBnZQ,52
|
45
45
|
kodexa/training/train_utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
46
46
|
kodexa/utils/__init__.py,sha256=Pnim1o9_db5YEnNvDTxpM7HG-qTlL6n8JwFwOafU9wo,5928
|
47
|
-
kodexa-7.4.
|
48
|
-
kodexa-7.4.
|
49
|
-
kodexa-7.4.
|
50
|
-
kodexa-7.4.
|
47
|
+
kodexa-7.4.413824212111.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
|
48
|
+
kodexa-7.4.413824212111.dist-info/METADATA,sha256=AZyKBXVWNrySrSEatVSkAFq_z4raju8Wu8TSGTFGr2A,2813
|
49
|
+
kodexa-7.4.413824212111.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
50
|
+
kodexa-7.4.413824212111.dist-info/RECORD,,
|
File without changes
|
File without changes
|