investify-utils 2.0.0a5__py3-none-any.whl → 2.0.0a6__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.

Potentially problematic release.


This version of investify-utils might be problematic. Click here for more details.

@@ -23,6 +23,7 @@ Usage:
23
23
 
24
24
  import asyncio
25
25
  import logging
26
+ from typing import Callable
26
27
 
27
28
  from confluent_kafka import KafkaException, SerializingProducer
28
29
  from confluent_kafka.schema_registry import SchemaRegistryClient, record_subject_name_strategy
@@ -100,7 +101,7 @@ class AsyncAvroProducer:
100
101
  self,
101
102
  value: dict,
102
103
  key: str | None = None,
103
- on_delivery: callable | None = None,
104
+ on_delivery: Callable | None = None,
104
105
  ) -> asyncio.Future:
105
106
  """
106
107
  Produce a message asynchronously.
@@ -23,6 +23,7 @@ Usage:
23
23
 
24
24
  import logging
25
25
  import threading
26
+ from typing import Callable
26
27
 
27
28
  from confluent_kafka import SerializingProducer
28
29
  from confluent_kafka.schema_registry import SchemaRegistryClient, record_subject_name_strategy
@@ -103,7 +104,7 @@ class AvroProducer:
103
104
  self,
104
105
  value: dict,
105
106
  key: str | None = None,
106
- on_delivery: callable | None = None,
107
+ on_delivery: Callable | None = None,
107
108
  ) -> None:
108
109
  """
109
110
  Produce a message to Kafka.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: investify-utils
3
- Version: 2.0.0a5
3
+ Version: 2.0.0a6
4
4
  Summary: Shared utilities for Investify services
5
5
  Author-Email: Investify <dev@investify.vn>
6
6
  License: MIT
@@ -21,7 +21,7 @@ Requires-Dist: pandas>=2.0; extra == "postgres-async"
21
21
  Requires-Dist: sqlalchemy>=2.0; extra == "postgres-async"
22
22
  Requires-Dist: asyncpg>=0.29; extra == "postgres-async"
23
23
  Provides-Extra: kafka
24
- Requires-Dist: confluent-kafka>=2.0; extra == "kafka"
24
+ Requires-Dist: confluent-kafka[avro,schemaregistry]>=2.0; extra == "kafka"
25
25
  Provides-Extra: s3
26
26
  Requires-Dist: boto3>=1.34; extra == "s3"
27
27
  Provides-Extra: dev
@@ -1,15 +1,15 @@
1
- investify_utils-2.0.0a5.dist-info/METADATA,sha256=Qhf1xCy0cR3oxo-WSMT7EeBEeE2v3eCF-kWBvPmQpbA,3529
2
- investify_utils-2.0.0a5.dist-info/WHEEL,sha256=tsUv_t7BDeJeRHaSrczbGeuK-TtDpGsWi_JfpzD255I,90
3
- investify_utils-2.0.0a5.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
1
+ investify_utils-2.0.0a6.dist-info/METADATA,sha256=KKBJ3SASWpl0xjhpgQNBIto_MoerTFdcrpzM8JvOr2M,3550
2
+ investify_utils-2.0.0a6.dist-info/WHEEL,sha256=tsUv_t7BDeJeRHaSrczbGeuK-TtDpGsWi_JfpzD255I,90
3
+ investify_utils-2.0.0a6.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
4
4
  investify_utils/__init__.py,sha256=-Gn2EAJfZ5BRlh7DMSSSvOeDK6JTJq9LWTEekieh3WY,427
5
5
  investify_utils/kafka/__init__.py,sha256=9PcV_2IFn8PxbggVmoSJlLR9gKrmd_TC2ylsnW_yv1U,1242
6
6
  investify_utils/kafka/async_consumer.py,sha256=yivm8dgCACfFFbG9uxA7fsoRrWfCEtPHCyZi2qkD0Qk,6631
7
- investify_utils/kafka/async_producer.py,sha256=zayeh4jZD2cox-CypIKnRuVZbAC0U3xkjGw0kC6UiNM,4724
7
+ investify_utils/kafka/async_producer.py,sha256=HtQ5SaL5ShJf7RetO5zItfg9EBFcPj1y18i_V0p-vFg,4752
8
8
  investify_utils/kafka/sync_consumer.py,sha256=NJu9tQ5MrqL7-0Cvtt9Gmq-Qro_O4VVFP85qIKMf_ZM,6305
9
- investify_utils/kafka/sync_producer.py,sha256=hWB2vkPtHMlewA4nmfDOY6xEbDp3ZxvhwoxKJ1eYJNc,4470
9
+ investify_utils/kafka/sync_producer.py,sha256=9EyhKZNCgmBgZw50gwSfSRUTnfPnCq520Mh9MHnGVlI,4498
10
10
  investify_utils/postgres/__init__.py,sha256=j4CfUw7U58vWstmxaKQuPkLVbKkOioC4Bc7_knllL_Y,737
11
11
  investify_utils/postgres/async_client.py,sha256=M3F7-AsBJ43WWhfknnvTK9BeiYAyO0R6n-XY4DOnyFA,3168
12
12
  investify_utils/postgres/sync_client.py,sha256=1mozgrNGUUKCR2ETAr9G9dzvW8uG_TmSqcbA63tRpM8,6507
13
13
  investify_utils/s3/__init__.py,sha256=0YX-efJTP38Q5XMCyr7u-fXMjCJXkAR7dG817quTns8,399
14
14
  investify_utils/s3/sync_client.py,sha256=fj6ejhAu06BUBRe2pnceKaNGhbPM79Xf47geL0DB-i0,6771
15
- investify_utils-2.0.0a5.dist-info/RECORD,,
15
+ investify_utils-2.0.0a6.dist-info/RECORD,,