diff --git a/alignai/client.py b/alignai/client.py index 55a11e8..2c93d0d 100644 --- a/alignai/client.py +++ b/alignai/client.py @@ -11,6 +11,8 @@ from alignai.config import Config from alignai.constants import ( DEFAULT_ASSISTANT_ID, + FEEDBACK_THUMBS_DOWN, + FEEDBACK_THUMBS_UP, ROLE_ASSISTANT, ROLE_USER, SERVER_BASE_URL, @@ -203,13 +205,8 @@ def create_message( raise ValidationError("content is required") if custom_properties: validate_custom_properties_or_raise(custom_properties) - - if message_index <= 0: - self.logger.error(f"Invalid message index '{message_index}': Message index must be a positive integer") - return - if role not in [ROLE_USER, ROLE_ASSISTANT]: - self.logger.error(f"Invalid message role '{role}': Message role must be either 'user' or 'assistant'") - return + if role not in {ROLE_USER, ROLE_ASSISTANT}: + raise ValidationError(f"Invalid message role '{role}': Message role must be either 'user' or 'assistant'") create_message_event = Event( id=uuid.uuid4().hex, @@ -232,6 +229,75 @@ def create_message( ) self._collect(create_message_event) + def create_session_feedback( + self, + session_id: str, + feedback_type: str, + ): + """Record an feedback targeting a specific session. + + Args: + session_id (str): Session ID associated with the message. + feedback_type (str): alignai.constants.FEEDBACK_THUMBS_UP or alignai.constants.FEEDBACK_THUMBS_DOWN. + """ # noqa: E501 + validate_session_id_or_raise(session_id) + if feedback_type != FEEDBACK_THUMBS_UP and feedback_type != FEEDBACK_THUMBS_DOWN: + raise ValidationError( + f"Invalid feedback type '{feedback_type}': Feedback type must be either 'thumbs_up' or 'thumbs_down'" + ) + + create_feedback_event = Event( + id=uuid.uuid4().hex, + type=EventTypes.MESSAGE_CREATE, + create_time=datetime_to_timestamp(pendulum.now()), + properties=EventProperties( + feedback_properties=EventProperties.FeedbackProperties( + session_id=session_id, + feedback_target=EventProperties.FeedbackProperties.TARGET_SESSION, + type=feedback_type, + ), + ), + project_id=self.project_id, + ) + self._collect(create_feedback_event) + + def create_message_feedback( + self, + session_id: str, + message_index: int, + feedback_type: str, + ): + """Record an feedback targeting a specific message. + + Args: + session_id (str): Session ID associated with the message. + message_index (int): Message index used to sort messages in a chronological order within a session. Must be a positive integer. + feedback_type (str): alignai.constants.FEEDBACK_THUMBS_UP or alignai.constants.FEEDBACK_THUMBS_DOWN. + """ # noqa: E501 + validate_session_id_or_raise(session_id) + if message_index <= 0: + raise ValidationError("message_index must be greater than 0") + if feedback_type != FEEDBACK_THUMBS_UP and feedback_type != FEEDBACK_THUMBS_DOWN: + raise ValidationError( + f"Invalid feedback type '{feedback_type}': Feedback type must be either 'thumbs_up' or 'thumbs_down'" + ) + + create_feedback_event = Event( + id=uuid.uuid4().hex, + type=EventTypes.MESSAGE_CREATE, + create_time=datetime_to_timestamp(pendulum.now()), + properties=EventProperties( + feedback_properties=EventProperties.FeedbackProperties( + session_id=session_id, + message_index_hint=message_index, + feedback_target=EventProperties.FeedbackProperties.TARGET_MESSAGE, + type=feedback_type, + ), + ), + project_id=self.project_id, + ) + self._collect(create_feedback_event) + def flush(self, timeout_seconds: int | None = None) -> None: """Dispatch all events from the buffer to Align AI. diff --git a/alignai/constants.py b/alignai/constants.py index a5ecc21..a9ba9b8 100644 --- a/alignai/constants.py +++ b/alignai/constants.py @@ -9,6 +9,8 @@ class EventTypes: ROLE_ASSISTANT = "assistant" DEFAULT_ASSISTANT_ID = "DEFAULT" +FEEDBACK_THUMBS_UP = "thumbs_up" +FEEDBACK_THUMBS_DOWN = "thumbs_down" FLUSH_INTERVAL_MS = 3000 FLUSH_BATCH_SIZE = 50 diff --git a/alignai/ingestion/v1alpha/event_pb2.py b/alignai/ingestion/v1alpha/event_pb2.py index f9cb97e..aad5d5e 100644 --- a/alignai/ingestion/v1alpha/event_pb2.py +++ b/alignai/ingestion/v1alpha/event_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: ingestion/v1alpha/event.proto -# Protobuf Python Version: 4.25.3 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +# from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +# _runtime_version.ValidateProtobufRuntimeVersion( +# _runtime_version.Domain.PUBLIC, +# 5, +# 28, +# 1, +# '', +# 'ingestion/v1alpha/event.proto' +# ) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -16,100 +26,98 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dingestion/v1alpha/event.proto\x12\x11ingestion.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe9\x01\n\x05\x45vent\x12\x14\n\x02id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x02id\x12\x18\n\x04type\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02R\x04type\x12\x41\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x01R\ncreateTime\x12H\n\nproperties\x18\x04 \x01(\x0b\x32\".ingestion.v1alpha.EventPropertiesB\x04\xe2\x41\x01\x02R\nproperties\x12#\n\nproject_id\x18\x05 \x01(\tB\x04\xe2\x41\x01\x02R\tprojectId\"\xf7\x11\n\x0f\x45ventProperties\x12\x65\n\x12session_properties\x18\x01 \x01(\x0b\x32\x34.ingestion.v1alpha.EventProperties.SessionPropertiesH\x00R\x11sessionProperties\x12\x65\n\x12message_properties\x18\x02 \x01(\x0b\x32\x34.ingestion.v1alpha.EventProperties.MessagePropertiesH\x00R\x11messageProperties\x12\\\n\x0fuser_properties\x18\x03 \x01(\x0b\x32\x31.ingestion.v1alpha.EventProperties.UserPropertiesH\x00R\x0euserProperties\x12h\n\x13\x66\x65\x65\x64\x62\x61\x63k_properties\x18\x04 \x01(\x0b\x32\x35.ingestion.v1alpha.EventProperties.FeedbackPropertiesH\x00R\x12\x66\x65\x65\x64\x62\x61\x63kProperties\x12k\n\x11\x63ustom_properties\x18\n \x03(\x0b\x32\x38.ingestion.v1alpha.EventProperties.CustomPropertiesEntryB\x04\xe2\x41\x01\x01R\x10\x63ustomProperties\x1a\xfb\x01\n\x11SessionProperties\x12#\n\nsession_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\tsessionId\x12)\n\rsession_title\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01R\x0csessionTitle\x12N\n\x12session_start_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x01R\x10sessionStartTime\x12\x1d\n\x07user_id\x18\x04 \x01(\tB\x04\xe2\x41\x01\x02R\x06userId\x12\'\n\x0c\x61ssistant_id\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01R\x0b\x61ssistantId\x1a\xc0\x03\n\x11MessageProperties\x12#\n\nsession_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\tsessionId\x12,\n\x0fmessage_id_hint\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01R\rmessageIdHint\x12\x32\n\x12message_index_hint\x18\x03 \x01(\x05\x42\x04\xe2\x41\x01\x01R\x10messageIndexHint\x12\x62\n\x0cmessage_role\x18\x04 \x01(\x0e\x32\x39.ingestion.v1alpha.EventProperties.MessageProperties.RoleB\x04\xe2\x41\x01\x02R\x0bmessageRole\x12-\n\x0fmessage_content\x18\x05 \x01(\tB\x04\xe2\x41\x01\x02R\x0emessageContent\x12P\n\x13message_create_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x01R\x11messageCreateTime\"?\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\r\n\tROLE_USER\x10\x01\x12\x12\n\x0eROLE_ASSISTANT\x10\x02\x1a\xc3\x03\n\x0eUserProperties\x12\x1d\n\x07user_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x06userId\x12#\n\nuser_email\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01R\tuserEmail\x12\x1d\n\x07user_ip\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01R\x06userIp\x12\x65\n\ruser_location\x18\x04 \x01(\x0b\x32:.ingestion.v1alpha.EventProperties.UserProperties.LocationB\x04\xe2\x41\x01\x01R\x0cuserLocation\x12J\n\x10user_create_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x01R\x0euserCreateTime\x12\x30\n\x11user_display_name\x18\x06 \x01(\tB\x04\xe2\x41\x01\x01R\x0fuserDisplayName\x1ai\n\x08Location\x12\'\n\x0c\x63ountry_code\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x0b\x63ountryCode\x12\x1a\n\x05state\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01R\x05state\x12\x18\n\x04\x63ity\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01R\x04\x63ity\x1a\xff\x02\n\x12\x46\x65\x65\x64\x62\x61\x63kProperties\x12#\n\nsession_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\tsessionId\x12k\n\x0f\x66\x65\x65\x64\x62\x61\x63k_target\x18\x02 \x01(\x0e\x32<.ingestion.v1alpha.EventProperties.FeedbackProperties.TargetB\x04\xe2\x41\x01\x02R\x0e\x66\x65\x65\x64\x62\x61\x63kTarget\x12+\n\x0e\x66\x65\x65\x64\x62\x61\x63k_score\x18\x03 \x01(\x05\x42\x04\xe2\x41\x01\x02R\rfeedbackScore\x12,\n\x0fmessage_id_hint\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01R\rmessageIdHint\x12\x32\n\x12message_index_hint\x18\x05 \x01(\x05\x42\x04\xe2\x41\x01\x01R\x10messageIndexHint\"H\n\x06Target\x12\x16\n\x12TARGET_UNSPECIFIED\x10\x00\x12\x12\n\x0eTARGET_SESSION\x10\x01\x12\x12\n\x0eTARGET_MESSAGE\x10\x02\x1a>\n\x13\x43ustomPropertyValue\x12\'\n\x0cstring_value\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x0bstringValue\x1a{\n\x15\x43ustomPropertiesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12L\n\x05value\x18\x02 \x01(\x0b\x32\x36.ingestion.v1alpha.EventProperties.CustomPropertyValueR\x05value:\x02\x38\x01\x42\x15\n\x13reserved_propertiesJ\x04\x08\x05\x10\nB\xd7\x01\n\x15\x63om.ingestion.v1alphaB\nEventProtoP\x01ZMgithub.com/coxwave/impaction-ai-api/gen/go/ingestion/v1alpha;ingestionv1alpha\xa2\x02\x03IXX\xaa\x02\x11Ingestion.V1alpha\xca\x02\x11Ingestion\\V1alpha\xe2\x02\x1dIngestion\\V1alpha\\GPBMetadata\xea\x02\x12Ingestion::V1alphab\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dingestion/v1alpha/event.proto\x12\x11ingestion.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe4\x01\n\x05\x45vent\x12\x13\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x02id\x12\x17\n\x04type\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x04type\x12@\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01R\ncreateTime\x12G\n\nproperties\x18\x04 \x01(\x0b\x32\".ingestion.v1alpha.EventPropertiesB\x03\xe0\x41\x02R\nproperties\x12\"\n\nproject_id\x18\x05 \x01(\tB\x03\xe0\x41\x02R\tprojectId\"\x9e\x11\n\x0f\x45ventProperties\x12\x65\n\x12session_properties\x18\x01 \x01(\x0b\x32\x34.ingestion.v1alpha.EventProperties.SessionPropertiesH\x00R\x11sessionProperties\x12\x65\n\x12message_properties\x18\x02 \x01(\x0b\x32\x34.ingestion.v1alpha.EventProperties.MessagePropertiesH\x00R\x11messageProperties\x12\\\n\x0fuser_properties\x18\x03 \x01(\x0b\x32\x31.ingestion.v1alpha.EventProperties.UserPropertiesH\x00R\x0euserProperties\x12h\n\x13\x66\x65\x65\x64\x62\x61\x63k_properties\x18\x04 \x01(\x0b\x32\x35.ingestion.v1alpha.EventProperties.FeedbackPropertiesH\x00R\x12\x66\x65\x65\x64\x62\x61\x63kProperties\x12j\n\x11\x63ustom_properties\x18\n \x03(\x0b\x32\x38.ingestion.v1alpha.EventProperties.CustomPropertiesEntryB\x03\xe0\x41\x01R\x10\x63ustomProperties\x1a\xf6\x01\n\x11SessionProperties\x12\"\n\nsession_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\tsessionId\x12(\n\rsession_title\x18\x02 \x01(\tB\x03\xe0\x41\x01R\x0csessionTitle\x12M\n\x12session_start_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01R\x10sessionStartTime\x12\x1c\n\x07user_id\x18\x04 \x01(\tB\x03\xe0\x41\x02R\x06userId\x12&\n\x0c\x61ssistant_id\x18\x05 \x01(\tB\x03\xe0\x41\x01R\x0b\x61ssistantId\x1a\xbc\x03\n\x11MessageProperties\x12\"\n\nsession_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\tsessionId\x12-\n\x0fmessage_id_hint\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x01R\rmessageIdHint\x12\x31\n\x12message_index_hint\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02R\x10messageIndexHint\x12\x61\n\x0cmessage_role\x18\x04 \x01(\x0e\x32\x39.ingestion.v1alpha.EventProperties.MessageProperties.RoleB\x03\xe0\x41\x02R\x0bmessageRole\x12,\n\x0fmessage_content\x18\x05 \x01(\tB\x03\xe0\x41\x02R\x0emessageContent\x12O\n\x13message_create_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01R\x11messageCreateTime\"?\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\r\n\tROLE_USER\x10\x01\x12\x12\n\x0eROLE_ASSISTANT\x10\x02\x1a\xba\x03\n\x0eUserProperties\x12\x1c\n\x07user_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x06userId\x12\"\n\nuser_email\x18\x02 \x01(\tB\x03\xe0\x41\x01R\tuserEmail\x12\x1c\n\x07user_ip\x18\x03 \x01(\tB\x03\xe0\x41\x01R\x06userIp\x12\x64\n\ruser_location\x18\x04 \x01(\x0b\x32:.ingestion.v1alpha.EventProperties.UserProperties.LocationB\x03\xe0\x41\x01R\x0cuserLocation\x12I\n\x10user_create_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01R\x0euserCreateTime\x12/\n\x11user_display_name\x18\x06 \x01(\tB\x03\xe0\x41\x01R\x0fuserDisplayName\x1a\x66\n\x08Location\x12&\n\x0c\x63ountry_code\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x0b\x63ountryCode\x12\x19\n\x05state\x18\x02 \x01(\tB\x03\xe0\x41\x01R\x05state\x12\x17\n\x04\x63ity\x18\x03 \x01(\tB\x03\xe0\x41\x01R\x04\x63ity\x1a\xba\x02\n\x12\x46\x65\x65\x64\x62\x61\x63kProperties\x12\"\n\nsession_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\tsessionId\x12\x31\n\x12message_index_hint\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01R\x10messageIndexHint\x12j\n\x0f\x66\x65\x65\x64\x62\x61\x63k_target\x18\x03 \x01(\x0e\x32<.ingestion.v1alpha.EventProperties.FeedbackProperties.TargetB\x03\xe0\x41\x02R\x0e\x66\x65\x65\x64\x62\x61\x63kTarget\x12\x17\n\x04type\x18\x04 \x01(\tB\x03\xe0\x41\x02R\x04type\"H\n\x06Target\x12\x16\n\x12TARGET_UNSPECIFIED\x10\x00\x12\x12\n\x0eTARGET_SESSION\x10\x01\x12\x12\n\x0eTARGET_MESSAGE\x10\x02\x1a=\n\x13\x43ustomPropertyValue\x12&\n\x0cstring_value\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x0bstringValue\x1a{\n\x15\x43ustomPropertiesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12L\n\x05value\x18\x02 \x01(\x0b\x32\x36.ingestion.v1alpha.EventProperties.CustomPropertyValueR\x05value:\x02\x38\x01\x42\x15\n\x13reserved_propertiesJ\x04\x08\x05\x10\nB\xd7\x01\n\x15\x63om.ingestion.v1alphaB\nEventProtoP\x01ZMgithub.com/coxwave/impaction-ai-api/gen/go/ingestion/v1alpha;ingestionv1alpha\xa2\x02\x03IXX\xaa\x02\x11Ingestion.V1alpha\xca\x02\x11Ingestion\\V1alpha\xe2\x02\x1dIngestion\\V1alpha\\GPBMetadata\xea\x02\x12Ingestion::V1alphab\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ingestion.v1alpha.event_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\025com.ingestion.v1alphaB\nEventProtoP\001ZMgithub.com/coxwave/impaction-ai-api/gen/go/ingestion/v1alpha;ingestionv1alpha\242\002\003IXX\252\002\021Ingestion.V1alpha\312\002\021Ingestion\\V1alpha\342\002\035Ingestion\\V1alpha\\GPBMetadata\352\002\022Ingestion::V1alpha' - _globals['_EVENT'].fields_by_name['id']._options = None - _globals['_EVENT'].fields_by_name['id']._serialized_options = b'\342A\001\002' - _globals['_EVENT'].fields_by_name['type']._options = None - _globals['_EVENT'].fields_by_name['type']._serialized_options = b'\342A\001\002' - _globals['_EVENT'].fields_by_name['create_time']._options = None - _globals['_EVENT'].fields_by_name['create_time']._serialized_options = b'\342A\001\001' - _globals['_EVENT'].fields_by_name['properties']._options = None - _globals['_EVENT'].fields_by_name['properties']._serialized_options = b'\342A\001\002' - _globals['_EVENT'].fields_by_name['project_id']._options = None - _globals['_EVENT'].fields_by_name['project_id']._serialized_options = b'\342A\001\002' - _globals['_EVENTPROPERTIES_SESSIONPROPERTIES'].fields_by_name['session_id']._options = None - _globals['_EVENTPROPERTIES_SESSIONPROPERTIES'].fields_by_name['session_id']._serialized_options = b'\342A\001\002' - _globals['_EVENTPROPERTIES_SESSIONPROPERTIES'].fields_by_name['session_title']._options = None - _globals['_EVENTPROPERTIES_SESSIONPROPERTIES'].fields_by_name['session_title']._serialized_options = b'\342A\001\001' - _globals['_EVENTPROPERTIES_SESSIONPROPERTIES'].fields_by_name['session_start_time']._options = None - _globals['_EVENTPROPERTIES_SESSIONPROPERTIES'].fields_by_name['session_start_time']._serialized_options = b'\342A\001\001' - _globals['_EVENTPROPERTIES_SESSIONPROPERTIES'].fields_by_name['user_id']._options = None - _globals['_EVENTPROPERTIES_SESSIONPROPERTIES'].fields_by_name['user_id']._serialized_options = b'\342A\001\002' - _globals['_EVENTPROPERTIES_SESSIONPROPERTIES'].fields_by_name['assistant_id']._options = None - _globals['_EVENTPROPERTIES_SESSIONPROPERTIES'].fields_by_name['assistant_id']._serialized_options = b'\342A\001\001' - _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES'].fields_by_name['session_id']._options = None - _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES'].fields_by_name['session_id']._serialized_options = b'\342A\001\002' - _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES'].fields_by_name['message_id_hint']._options = None - _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES'].fields_by_name['message_id_hint']._serialized_options = b'\342A\001\001' - _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES'].fields_by_name['message_index_hint']._options = None - _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES'].fields_by_name['message_index_hint']._serialized_options = b'\342A\001\001' - _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES'].fields_by_name['message_role']._options = None - _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES'].fields_by_name['message_role']._serialized_options = b'\342A\001\002' - _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES'].fields_by_name['message_content']._options = None - _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES'].fields_by_name['message_content']._serialized_options = b'\342A\001\002' - _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES'].fields_by_name['message_create_time']._options = None - _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES'].fields_by_name['message_create_time']._serialized_options = b'\342A\001\001' - _globals['_EVENTPROPERTIES_USERPROPERTIES_LOCATION'].fields_by_name['country_code']._options = None - _globals['_EVENTPROPERTIES_USERPROPERTIES_LOCATION'].fields_by_name['country_code']._serialized_options = b'\342A\001\002' - _globals['_EVENTPROPERTIES_USERPROPERTIES_LOCATION'].fields_by_name['state']._options = None - _globals['_EVENTPROPERTIES_USERPROPERTIES_LOCATION'].fields_by_name['state']._serialized_options = b'\342A\001\001' - _globals['_EVENTPROPERTIES_USERPROPERTIES_LOCATION'].fields_by_name['city']._options = None - _globals['_EVENTPROPERTIES_USERPROPERTIES_LOCATION'].fields_by_name['city']._serialized_options = b'\342A\001\001' - _globals['_EVENTPROPERTIES_USERPROPERTIES'].fields_by_name['user_id']._options = None - _globals['_EVENTPROPERTIES_USERPROPERTIES'].fields_by_name['user_id']._serialized_options = b'\342A\001\002' - _globals['_EVENTPROPERTIES_USERPROPERTIES'].fields_by_name['user_email']._options = None - _globals['_EVENTPROPERTIES_USERPROPERTIES'].fields_by_name['user_email']._serialized_options = b'\342A\001\001' - _globals['_EVENTPROPERTIES_USERPROPERTIES'].fields_by_name['user_ip']._options = None - _globals['_EVENTPROPERTIES_USERPROPERTIES'].fields_by_name['user_ip']._serialized_options = b'\342A\001\001' - _globals['_EVENTPROPERTIES_USERPROPERTIES'].fields_by_name['user_location']._options = None - _globals['_EVENTPROPERTIES_USERPROPERTIES'].fields_by_name['user_location']._serialized_options = b'\342A\001\001' - _globals['_EVENTPROPERTIES_USERPROPERTIES'].fields_by_name['user_create_time']._options = None - _globals['_EVENTPROPERTIES_USERPROPERTIES'].fields_by_name['user_create_time']._serialized_options = b'\342A\001\001' - _globals['_EVENTPROPERTIES_USERPROPERTIES'].fields_by_name['user_display_name']._options = None - _globals['_EVENTPROPERTIES_USERPROPERTIES'].fields_by_name['user_display_name']._serialized_options = b'\342A\001\001' - _globals['_EVENTPROPERTIES_FEEDBACKPROPERTIES'].fields_by_name['session_id']._options = None - _globals['_EVENTPROPERTIES_FEEDBACKPROPERTIES'].fields_by_name['session_id']._serialized_options = b'\342A\001\002' - _globals['_EVENTPROPERTIES_FEEDBACKPROPERTIES'].fields_by_name['feedback_target']._options = None - _globals['_EVENTPROPERTIES_FEEDBACKPROPERTIES'].fields_by_name['feedback_target']._serialized_options = b'\342A\001\002' - _globals['_EVENTPROPERTIES_FEEDBACKPROPERTIES'].fields_by_name['feedback_score']._options = None - _globals['_EVENTPROPERTIES_FEEDBACKPROPERTIES'].fields_by_name['feedback_score']._serialized_options = b'\342A\001\002' - _globals['_EVENTPROPERTIES_FEEDBACKPROPERTIES'].fields_by_name['message_id_hint']._options = None - _globals['_EVENTPROPERTIES_FEEDBACKPROPERTIES'].fields_by_name['message_id_hint']._serialized_options = b'\342A\001\001' - _globals['_EVENTPROPERTIES_FEEDBACKPROPERTIES'].fields_by_name['message_index_hint']._options = None - _globals['_EVENTPROPERTIES_FEEDBACKPROPERTIES'].fields_by_name['message_index_hint']._serialized_options = b'\342A\001\001' - _globals['_EVENTPROPERTIES_CUSTOMPROPERTYVALUE'].fields_by_name['string_value']._options = None - _globals['_EVENTPROPERTIES_CUSTOMPROPERTYVALUE'].fields_by_name['string_value']._serialized_options = b'\342A\001\002' - _globals['_EVENTPROPERTIES_CUSTOMPROPERTIESENTRY']._options = None + _globals['_EVENT'].fields_by_name['id']._loaded_options = None + _globals['_EVENT'].fields_by_name['id']._serialized_options = b'\340A\002' + _globals['_EVENT'].fields_by_name['type']._loaded_options = None + _globals['_EVENT'].fields_by_name['type']._serialized_options = b'\340A\002' + _globals['_EVENT'].fields_by_name['create_time']._loaded_options = None + _globals['_EVENT'].fields_by_name['create_time']._serialized_options = b'\340A\001' + _globals['_EVENT'].fields_by_name['properties']._loaded_options = None + _globals['_EVENT'].fields_by_name['properties']._serialized_options = b'\340A\002' + _globals['_EVENT'].fields_by_name['project_id']._loaded_options = None + _globals['_EVENT'].fields_by_name['project_id']._serialized_options = b'\340A\002' + _globals['_EVENTPROPERTIES_SESSIONPROPERTIES'].fields_by_name['session_id']._loaded_options = None + _globals['_EVENTPROPERTIES_SESSIONPROPERTIES'].fields_by_name['session_id']._serialized_options = b'\340A\002' + _globals['_EVENTPROPERTIES_SESSIONPROPERTIES'].fields_by_name['session_title']._loaded_options = None + _globals['_EVENTPROPERTIES_SESSIONPROPERTIES'].fields_by_name['session_title']._serialized_options = b'\340A\001' + _globals['_EVENTPROPERTIES_SESSIONPROPERTIES'].fields_by_name['session_start_time']._loaded_options = None + _globals['_EVENTPROPERTIES_SESSIONPROPERTIES'].fields_by_name['session_start_time']._serialized_options = b'\340A\001' + _globals['_EVENTPROPERTIES_SESSIONPROPERTIES'].fields_by_name['user_id']._loaded_options = None + _globals['_EVENTPROPERTIES_SESSIONPROPERTIES'].fields_by_name['user_id']._serialized_options = b'\340A\002' + _globals['_EVENTPROPERTIES_SESSIONPROPERTIES'].fields_by_name['assistant_id']._loaded_options = None + _globals['_EVENTPROPERTIES_SESSIONPROPERTIES'].fields_by_name['assistant_id']._serialized_options = b'\340A\001' + _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES'].fields_by_name['session_id']._loaded_options = None + _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES'].fields_by_name['session_id']._serialized_options = b'\340A\002' + _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES'].fields_by_name['message_id_hint']._loaded_options = None + _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES'].fields_by_name['message_id_hint']._serialized_options = b'\030\001\340A\001' + _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES'].fields_by_name['message_index_hint']._loaded_options = None + _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES'].fields_by_name['message_index_hint']._serialized_options = b'\340A\002' + _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES'].fields_by_name['message_role']._loaded_options = None + _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES'].fields_by_name['message_role']._serialized_options = b'\340A\002' + _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES'].fields_by_name['message_content']._loaded_options = None + _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES'].fields_by_name['message_content']._serialized_options = b'\340A\002' + _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES'].fields_by_name['message_create_time']._loaded_options = None + _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES'].fields_by_name['message_create_time']._serialized_options = b'\340A\001' + _globals['_EVENTPROPERTIES_USERPROPERTIES_LOCATION'].fields_by_name['country_code']._loaded_options = None + _globals['_EVENTPROPERTIES_USERPROPERTIES_LOCATION'].fields_by_name['country_code']._serialized_options = b'\340A\002' + _globals['_EVENTPROPERTIES_USERPROPERTIES_LOCATION'].fields_by_name['state']._loaded_options = None + _globals['_EVENTPROPERTIES_USERPROPERTIES_LOCATION'].fields_by_name['state']._serialized_options = b'\340A\001' + _globals['_EVENTPROPERTIES_USERPROPERTIES_LOCATION'].fields_by_name['city']._loaded_options = None + _globals['_EVENTPROPERTIES_USERPROPERTIES_LOCATION'].fields_by_name['city']._serialized_options = b'\340A\001' + _globals['_EVENTPROPERTIES_USERPROPERTIES'].fields_by_name['user_id']._loaded_options = None + _globals['_EVENTPROPERTIES_USERPROPERTIES'].fields_by_name['user_id']._serialized_options = b'\340A\002' + _globals['_EVENTPROPERTIES_USERPROPERTIES'].fields_by_name['user_email']._loaded_options = None + _globals['_EVENTPROPERTIES_USERPROPERTIES'].fields_by_name['user_email']._serialized_options = b'\340A\001' + _globals['_EVENTPROPERTIES_USERPROPERTIES'].fields_by_name['user_ip']._loaded_options = None + _globals['_EVENTPROPERTIES_USERPROPERTIES'].fields_by_name['user_ip']._serialized_options = b'\340A\001' + _globals['_EVENTPROPERTIES_USERPROPERTIES'].fields_by_name['user_location']._loaded_options = None + _globals['_EVENTPROPERTIES_USERPROPERTIES'].fields_by_name['user_location']._serialized_options = b'\340A\001' + _globals['_EVENTPROPERTIES_USERPROPERTIES'].fields_by_name['user_create_time']._loaded_options = None + _globals['_EVENTPROPERTIES_USERPROPERTIES'].fields_by_name['user_create_time']._serialized_options = b'\340A\001' + _globals['_EVENTPROPERTIES_USERPROPERTIES'].fields_by_name['user_display_name']._loaded_options = None + _globals['_EVENTPROPERTIES_USERPROPERTIES'].fields_by_name['user_display_name']._serialized_options = b'\340A\001' + _globals['_EVENTPROPERTIES_FEEDBACKPROPERTIES'].fields_by_name['session_id']._loaded_options = None + _globals['_EVENTPROPERTIES_FEEDBACKPROPERTIES'].fields_by_name['session_id']._serialized_options = b'\340A\002' + _globals['_EVENTPROPERTIES_FEEDBACKPROPERTIES'].fields_by_name['message_index_hint']._loaded_options = None + _globals['_EVENTPROPERTIES_FEEDBACKPROPERTIES'].fields_by_name['message_index_hint']._serialized_options = b'\340A\001' + _globals['_EVENTPROPERTIES_FEEDBACKPROPERTIES'].fields_by_name['feedback_target']._loaded_options = None + _globals['_EVENTPROPERTIES_FEEDBACKPROPERTIES'].fields_by_name['feedback_target']._serialized_options = b'\340A\002' + _globals['_EVENTPROPERTIES_FEEDBACKPROPERTIES'].fields_by_name['type']._loaded_options = None + _globals['_EVENTPROPERTIES_FEEDBACKPROPERTIES'].fields_by_name['type']._serialized_options = b'\340A\002' + _globals['_EVENTPROPERTIES_CUSTOMPROPERTYVALUE'].fields_by_name['string_value']._loaded_options = None + _globals['_EVENTPROPERTIES_CUSTOMPROPERTYVALUE'].fields_by_name['string_value']._serialized_options = b'\340A\002' + _globals['_EVENTPROPERTIES_CUSTOMPROPERTIESENTRY']._loaded_options = None _globals['_EVENTPROPERTIES_CUSTOMPROPERTIESENTRY']._serialized_options = b'8\001' - _globals['_EVENTPROPERTIES'].fields_by_name['custom_properties']._options = None - _globals['_EVENTPROPERTIES'].fields_by_name['custom_properties']._serialized_options = b'\342A\001\001' + _globals['_EVENTPROPERTIES'].fields_by_name['custom_properties']._loaded_options = None + _globals['_EVENTPROPERTIES'].fields_by_name['custom_properties']._serialized_options = b'\340A\001' _globals['_EVENT']._serialized_start=119 - _globals['_EVENT']._serialized_end=352 - _globals['_EVENTPROPERTIES']._serialized_start=355 - _globals['_EVENTPROPERTIES']._serialized_end=2650 - _globals['_EVENTPROPERTIES_SESSIONPROPERTIES']._serialized_start=890 - _globals['_EVENTPROPERTIES_SESSIONPROPERTIES']._serialized_end=1141 - _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES']._serialized_start=1144 - _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES']._serialized_end=1592 - _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES_ROLE']._serialized_start=1529 - _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES_ROLE']._serialized_end=1592 - _globals['_EVENTPROPERTIES_USERPROPERTIES']._serialized_start=1595 - _globals['_EVENTPROPERTIES_USERPROPERTIES']._serialized_end=2046 - _globals['_EVENTPROPERTIES_USERPROPERTIES_LOCATION']._serialized_start=1941 - _globals['_EVENTPROPERTIES_USERPROPERTIES_LOCATION']._serialized_end=2046 - _globals['_EVENTPROPERTIES_FEEDBACKPROPERTIES']._serialized_start=2049 - _globals['_EVENTPROPERTIES_FEEDBACKPROPERTIES']._serialized_end=2432 - _globals['_EVENTPROPERTIES_FEEDBACKPROPERTIES_TARGET']._serialized_start=2360 - _globals['_EVENTPROPERTIES_FEEDBACKPROPERTIES_TARGET']._serialized_end=2432 - _globals['_EVENTPROPERTIES_CUSTOMPROPERTYVALUE']._serialized_start=2434 - _globals['_EVENTPROPERTIES_CUSTOMPROPERTYVALUE']._serialized_end=2496 - _globals['_EVENTPROPERTIES_CUSTOMPROPERTIESENTRY']._serialized_start=2498 - _globals['_EVENTPROPERTIES_CUSTOMPROPERTIESENTRY']._serialized_end=2621 + _globals['_EVENT']._serialized_end=347 + _globals['_EVENTPROPERTIES']._serialized_start=350 + _globals['_EVENTPROPERTIES']._serialized_end=2556 + _globals['_EVENTPROPERTIES_SESSIONPROPERTIES']._serialized_start=884 + _globals['_EVENTPROPERTIES_SESSIONPROPERTIES']._serialized_end=1130 + _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES']._serialized_start=1133 + _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES']._serialized_end=1577 + _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES_ROLE']._serialized_start=1514 + _globals['_EVENTPROPERTIES_MESSAGEPROPERTIES_ROLE']._serialized_end=1577 + _globals['_EVENTPROPERTIES_USERPROPERTIES']._serialized_start=1580 + _globals['_EVENTPROPERTIES_USERPROPERTIES']._serialized_end=2022 + _globals['_EVENTPROPERTIES_USERPROPERTIES_LOCATION']._serialized_start=1920 + _globals['_EVENTPROPERTIES_USERPROPERTIES_LOCATION']._serialized_end=2022 + _globals['_EVENTPROPERTIES_FEEDBACKPROPERTIES']._serialized_start=2025 + _globals['_EVENTPROPERTIES_FEEDBACKPROPERTIES']._serialized_end=2339 + _globals['_EVENTPROPERTIES_FEEDBACKPROPERTIES_TARGET']._serialized_start=2267 + _globals['_EVENTPROPERTIES_FEEDBACKPROPERTIES_TARGET']._serialized_end=2339 + _globals['_EVENTPROPERTIES_CUSTOMPROPERTYVALUE']._serialized_start=2341 + _globals['_EVENTPROPERTIES_CUSTOMPROPERTYVALUE']._serialized_end=2402 + _globals['_EVENTPROPERTIES_CUSTOMPROPERTIESENTRY']._serialized_start=2404 + _globals['_EVENTPROPERTIES_CUSTOMPROPERTIESENTRY']._serialized_end=2527 # @@protoc_insertion_point(module_scope) diff --git a/alignai/ingestion/v1alpha/event_pb2.pyi b/alignai/ingestion/v1alpha/event_pb2.pyi index 708b8f9..e89f723 100644 --- a/alignai/ingestion/v1alpha/event_pb2.pyi +++ b/alignai/ingestion/v1alpha/event_pb2.pyi @@ -85,7 +85,7 @@ class EventProperties(_message.Message): user_display_name: str def __init__(self, user_id: _Optional[str] = ..., user_email: _Optional[str] = ..., user_ip: _Optional[str] = ..., user_location: _Optional[_Union[EventProperties.UserProperties.Location, _Mapping]] = ..., user_create_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., user_display_name: _Optional[str] = ...) -> None: ... class FeedbackProperties(_message.Message): - __slots__ = ("session_id", "feedback_target", "feedback_score", "message_id_hint", "message_index_hint") + __slots__ = ("session_id", "message_index_hint", "feedback_target", "type") class Target(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): __slots__ = () TARGET_UNSPECIFIED: _ClassVar[EventProperties.FeedbackProperties.Target] @@ -95,16 +95,14 @@ class EventProperties(_message.Message): TARGET_SESSION: EventProperties.FeedbackProperties.Target TARGET_MESSAGE: EventProperties.FeedbackProperties.Target SESSION_ID_FIELD_NUMBER: _ClassVar[int] - FEEDBACK_TARGET_FIELD_NUMBER: _ClassVar[int] - FEEDBACK_SCORE_FIELD_NUMBER: _ClassVar[int] - MESSAGE_ID_HINT_FIELD_NUMBER: _ClassVar[int] MESSAGE_INDEX_HINT_FIELD_NUMBER: _ClassVar[int] + FEEDBACK_TARGET_FIELD_NUMBER: _ClassVar[int] + TYPE_FIELD_NUMBER: _ClassVar[int] session_id: str - feedback_target: EventProperties.FeedbackProperties.Target - feedback_score: int - message_id_hint: str message_index_hint: int - def __init__(self, session_id: _Optional[str] = ..., feedback_target: _Optional[_Union[EventProperties.FeedbackProperties.Target, str]] = ..., feedback_score: _Optional[int] = ..., message_id_hint: _Optional[str] = ..., message_index_hint: _Optional[int] = ...) -> None: ... + feedback_target: EventProperties.FeedbackProperties.Target + type: str + def __init__(self, session_id: _Optional[str] = ..., message_index_hint: _Optional[int] = ..., feedback_target: _Optional[_Union[EventProperties.FeedbackProperties.Target, str]] = ..., type: _Optional[str] = ...) -> None: ... class CustomPropertyValue(_message.Message): __slots__ = ("string_value",) STRING_VALUE_FIELD_NUMBER: _ClassVar[int] diff --git a/alignai/ingestion/v1alpha/event_pb2_grpc.py b/alignai/ingestion/v1alpha/event_pb2_grpc.py deleted file mode 100644 index 8a93939..0000000 --- a/alignai/ingestion/v1alpha/event_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc diff --git a/alignai/ingestion/v1alpha/ingestion_pb2.py b/alignai/ingestion/v1alpha/ingestion_pb2.py index 0b78b2c..6962910 100644 --- a/alignai/ingestion/v1alpha/ingestion_pb2.py +++ b/alignai/ingestion/v1alpha/ingestion_pb2.py @@ -1,13 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: ingestion/v1alpha/ingestion.proto -# Protobuf Python Version: 4.25.3 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +# from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder - +# _runtime_version.ValidateProtobufRuntimeVersion( +# _runtime_version.Domain.PUBLIC, +# 5, +# 28, +# 1, +# '', +# 'ingestion/v1alpha/ingestion.proto' +# ) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -18,24 +27,20 @@ from alignai.ingestion.v1alpha import event_pb2 as ingestion_dot_v1alpha_dot_event__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n!ingestion/v1alpha/ingestion.proto\x12\x11ingestion.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1dingestion/v1alpha/event.proto"s\n\x14\x43ollectEventsRequest\x12#\n\nrequest_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\trequestId\x12\x36\n\x06\x65vents\x18\x02 \x03(\x0b\x32\x18.ingestion.v1alpha.EventB\x04\xe2\x41\x01\x02R\x06\x65vents2f\n\x10IngestionService\x12R\n\rCollectEvents\x12\'.ingestion.v1alpha.CollectEventsRequest\x1a\x16.google.protobuf.Empty"\x00\x42\xdb\x01\n\x15\x63om.ingestion.v1alphaB\x0eIngestionProtoP\x01ZMgithub.com/coxwave/impaction-ai-api/gen/go/ingestion/v1alpha;ingestionv1alpha\xa2\x02\x03IXX\xaa\x02\x11Ingestion.V1alpha\xca\x02\x11Ingestion\\V1alpha\xe2\x02\x1dIngestion\\V1alpha\\GPBMetadata\xea\x02\x12Ingestion::V1alphab\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ingestion/v1alpha/ingestion.proto\x12\x11ingestion.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1dingestion/v1alpha/event.proto\"q\n\x14\x43ollectEventsRequest\x12\"\n\nrequest_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\trequestId\x12\x35\n\x06\x65vents\x18\x02 \x03(\x0b\x32\x18.ingestion.v1alpha.EventB\x03\xe0\x41\x02R\x06\x65vents2f\n\x10IngestionService\x12R\n\rCollectEvents\x12\'.ingestion.v1alpha.CollectEventsRequest\x1a\x16.google.protobuf.Empty\"\x00\x42\xdb\x01\n\x15\x63om.ingestion.v1alphaB\x0eIngestionProtoP\x01ZMgithub.com/coxwave/impaction-ai-api/gen/go/ingestion/v1alpha;ingestionv1alpha\xa2\x02\x03IXX\xaa\x02\x11Ingestion.V1alpha\xca\x02\x11Ingestion\\V1alpha\xe2\x02\x1dIngestion\\V1alpha\\GPBMetadata\xea\x02\x12Ingestion::V1alphab\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ingestion.v1alpha.ingestion_pb2", _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals["DESCRIPTOR"]._options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\025com.ingestion.v1alphaB\016IngestionProtoP\001ZMgithub.com/coxwave/impaction-ai-api/gen/go/ingestion/v1alpha;ingestionv1alpha\242\002\003IXX\252\002\021Ingestion.V1alpha\312\002\021Ingestion\\V1alpha\342\002\035Ingestion\\V1alpha\\GPBMetadata\352\002\022Ingestion::V1alpha" - ) - _globals["_COLLECTEVENTSREQUEST"].fields_by_name["request_id"]._options = None - _globals["_COLLECTEVENTSREQUEST"].fields_by_name["request_id"]._serialized_options = b"\342A\001\002" - _globals["_COLLECTEVENTSREQUEST"].fields_by_name["events"]._options = None - _globals["_COLLECTEVENTSREQUEST"].fields_by_name["events"]._serialized_options = b"\342A\001\002" - _globals["_COLLECTEVENTSREQUEST"]._serialized_start = 149 - _globals["_COLLECTEVENTSREQUEST"]._serialized_end = 264 - _globals["_INGESTIONSERVICE"]._serialized_start = 266 - _globals["_INGESTIONSERVICE"]._serialized_end = 368 +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ingestion.v1alpha.ingestion_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\025com.ingestion.v1alphaB\016IngestionProtoP\001ZMgithub.com/coxwave/impaction-ai-api/gen/go/ingestion/v1alpha;ingestionv1alpha\242\002\003IXX\252\002\021Ingestion.V1alpha\312\002\021Ingestion\\V1alpha\342\002\035Ingestion\\V1alpha\\GPBMetadata\352\002\022Ingestion::V1alpha' + _globals['_COLLECTEVENTSREQUEST'].fields_by_name['request_id']._loaded_options = None + _globals['_COLLECTEVENTSREQUEST'].fields_by_name['request_id']._serialized_options = b'\340A\002' + _globals['_COLLECTEVENTSREQUEST'].fields_by_name['events']._loaded_options = None + _globals['_COLLECTEVENTSREQUEST'].fields_by_name['events']._serialized_options = b'\340A\002' + _globals['_COLLECTEVENTSREQUEST']._serialized_start=149 + _globals['_COLLECTEVENTSREQUEST']._serialized_end=262 + _globals['_INGESTIONSERVICE']._serialized_start=264 + _globals['_INGESTIONSERVICE']._serialized_end=366 # @@protoc_insertion_point(module_scope) diff --git a/alignai/ingestion/v1alpha/ingestion_pb2.pyi b/alignai/ingestion/v1alpha/ingestion_pb2.pyi index 48eccdb..60a6d8e 100644 --- a/alignai/ingestion/v1alpha/ingestion_pb2.pyi +++ b/alignai/ingestion/v1alpha/ingestion_pb2.pyi @@ -4,13 +4,7 @@ from alignai.ingestion.v1alpha import event_pb2 as _event_pb2 from google.protobuf.internal import containers as _containers from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message -from typing import ( - ClassVar as _ClassVar, - Iterable as _Iterable, - Mapping as _Mapping, - Optional as _Optional, - Union as _Union, -) +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union DESCRIPTOR: _descriptor.FileDescriptor @@ -20,6 +14,4 @@ class CollectEventsRequest(_message.Message): EVENTS_FIELD_NUMBER: _ClassVar[int] request_id: str events: _containers.RepeatedCompositeFieldContainer[_event_pb2.Event] - def __init__( - self, request_id: _Optional[str] = ..., events: _Optional[_Iterable[_Union[_event_pb2.Event, _Mapping]]] = ... - ) -> None: ... + def __init__(self, request_id: _Optional[str] = ..., events: _Optional[_Iterable[_Union[_event_pb2.Event, _Mapping]]] = ...) -> None: ... diff --git a/alignai/ingestion/v1alpha/ingestion_pb2_grpc.py b/alignai/ingestion/v1alpha/ingestion_pb2_grpc.py deleted file mode 100644 index a82e897..0000000 --- a/alignai/ingestion/v1alpha/ingestion_pb2_grpc.py +++ /dev/null @@ -1,67 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 -from alignai.ingestion.v1alpha import ingestion_pb2 as ingestion_dot_v1alpha_dot_ingestion__pb2 - - -class IngestionServiceStub(object): - """Missing associated documentation comment in .proto file.""" - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CollectEvents = channel.unary_unary( - '/ingestion.v1alpha.IngestionService/CollectEvents', - request_serializer=ingestion_dot_v1alpha_dot_ingestion__pb2.CollectEventsRequest.SerializeToString, - response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) - - -class IngestionServiceServicer(object): - """Missing associated documentation comment in .proto file.""" - - def CollectEvents(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_IngestionServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CollectEvents': grpc.unary_unary_rpc_method_handler( - servicer.CollectEvents, - request_deserializer=ingestion_dot_v1alpha_dot_ingestion__pb2.CollectEventsRequest.FromString, - response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'ingestion.v1alpha.IngestionService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class IngestionService(object): - """Missing associated documentation comment in .proto file.""" - - @staticmethod - def CollectEvents(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/ingestion.v1alpha.IngestionService/CollectEvents', - ingestion_dot_v1alpha_dot_ingestion__pb2.CollectEventsRequest.SerializeToString, - google_dot_protobuf_dot_empty__pb2.Empty.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/poetry.lock b/poetry.lock index 0c53db4..af8e3b2 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,34 +1,34 @@ -# This file is automatically @generated by Poetry 1.5.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. [[package]] name = "black" -version = "24.3.0" +version = "24.8.0" description = "The uncompromising code formatter." optional = false python-versions = ">=3.8" files = [ - {file = "black-24.3.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:7d5e026f8da0322b5662fa7a8e752b3fa2dac1c1cbc213c3d7ff9bdd0ab12395"}, - {file = "black-24.3.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9f50ea1132e2189d8dff0115ab75b65590a3e97de1e143795adb4ce317934995"}, - {file = "black-24.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e2af80566f43c85f5797365077fb64a393861a3730bd110971ab7a0c94e873e7"}, - {file = "black-24.3.0-cp310-cp310-win_amd64.whl", hash = "sha256:4be5bb28e090456adfc1255e03967fb67ca846a03be7aadf6249096100ee32d0"}, - {file = "black-24.3.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:4f1373a7808a8f135b774039f61d59e4be7eb56b2513d3d2f02a8b9365b8a8a9"}, - {file = "black-24.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:aadf7a02d947936ee418777e0247ea114f78aff0d0959461057cae8a04f20597"}, - {file = "black-24.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:65c02e4ea2ae09d16314d30912a58ada9a5c4fdfedf9512d23326128ac08ac3d"}, - {file = "black-24.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:bf21b7b230718a5f08bd32d5e4f1db7fc8788345c8aea1d155fc17852b3410f5"}, - {file = "black-24.3.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:2818cf72dfd5d289e48f37ccfa08b460bf469e67fb7c4abb07edc2e9f16fb63f"}, - {file = "black-24.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:4acf672def7eb1725f41f38bf6bf425c8237248bb0804faa3965c036f7672d11"}, - {file = "black-24.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c7ed6668cbbfcd231fa0dc1b137d3e40c04c7f786e626b405c62bcd5db5857e4"}, - {file = "black-24.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:56f52cfbd3dabe2798d76dbdd299faa046a901041faf2cf33288bc4e6dae57b5"}, - {file = "black-24.3.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:79dcf34b33e38ed1b17434693763301d7ccbd1c5860674a8f871bd15139e7837"}, - {file = "black-24.3.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:e19cb1c6365fd6dc38a6eae2dcb691d7d83935c10215aef8e6c38edee3f77abd"}, - {file = "black-24.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:65b76c275e4c1c5ce6e9870911384bff5ca31ab63d19c76811cb1fb162678213"}, - {file = "black-24.3.0-cp38-cp38-win_amd64.whl", hash = "sha256:b5991d523eee14756f3c8d5df5231550ae8993e2286b8014e2fdea7156ed0959"}, - {file = "black-24.3.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:c45f8dff244b3c431b36e3224b6be4a127c6aca780853574c00faf99258041eb"}, - {file = "black-24.3.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:6905238a754ceb7788a73f02b45637d820b2f5478b20fec82ea865e4f5d4d9f7"}, - {file = "black-24.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d7de8d330763c66663661a1ffd432274a2f92f07feeddd89ffd085b5744f85e7"}, - {file = "black-24.3.0-cp39-cp39-win_amd64.whl", hash = "sha256:7bb041dca0d784697af4646d3b62ba4a6b028276ae878e53f6b4f74ddd6db99f"}, - {file = "black-24.3.0-py3-none-any.whl", hash = "sha256:41622020d7120e01d377f74249e677039d20e6344ff5851de8a10f11f513bf93"}, - {file = "black-24.3.0.tar.gz", hash = "sha256:a0c9c4a0771afc6919578cec71ce82a3e31e054904e7197deacbc9382671c41f"}, + {file = "black-24.8.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:09cdeb74d494ec023ded657f7092ba518e8cf78fa8386155e4a03fdcc44679e6"}, + {file = "black-24.8.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:81c6742da39f33b08e791da38410f32e27d632260e599df7245cccee2064afeb"}, + {file = "black-24.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:707a1ca89221bc8a1a64fb5e15ef39cd755633daa672a9db7498d1c19de66a42"}, + {file = "black-24.8.0-cp310-cp310-win_amd64.whl", hash = "sha256:d6417535d99c37cee4091a2f24eb2b6d5ec42b144d50f1f2e436d9fe1916fe1a"}, + {file = "black-24.8.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:fb6e2c0b86bbd43dee042e48059c9ad7830abd5c94b0bc518c0eeec57c3eddc1"}, + {file = "black-24.8.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:837fd281f1908d0076844bc2b801ad2d369c78c45cf800cad7b61686051041af"}, + {file = "black-24.8.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:62e8730977f0b77998029da7971fa896ceefa2c4c4933fcd593fa599ecbf97a4"}, + {file = "black-24.8.0-cp311-cp311-win_amd64.whl", hash = "sha256:72901b4913cbac8972ad911dc4098d5753704d1f3c56e44ae8dce99eecb0e3af"}, + {file = "black-24.8.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:7c046c1d1eeb7aea9335da62472481d3bbf3fd986e093cffd35f4385c94ae368"}, + {file = "black-24.8.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:649f6d84ccbae73ab767e206772cc2d7a393a001070a4c814a546afd0d423aed"}, + {file = "black-24.8.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2b59b250fdba5f9a9cd9d0ece6e6d993d91ce877d121d161e4698af3eb9c1018"}, + {file = "black-24.8.0-cp312-cp312-win_amd64.whl", hash = "sha256:6e55d30d44bed36593c3163b9bc63bf58b3b30e4611e4d88a0c3c239930ed5b2"}, + {file = "black-24.8.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:505289f17ceda596658ae81b61ebbe2d9b25aa78067035184ed0a9d855d18afd"}, + {file = "black-24.8.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:b19c9ad992c7883ad84c9b22aaa73562a16b819c1d8db7a1a1a49fb7ec13c7d2"}, + {file = "black-24.8.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1f13f7f386f86f8121d76599114bb8c17b69d962137fc70efe56137727c7047e"}, + {file = "black-24.8.0-cp38-cp38-win_amd64.whl", hash = "sha256:f490dbd59680d809ca31efdae20e634f3fae27fba3ce0ba3208333b713bc3920"}, + {file = "black-24.8.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:eab4dd44ce80dea27dc69db40dab62d4ca96112f87996bca68cd75639aeb2e4c"}, + {file = "black-24.8.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:3c4285573d4897a7610054af5a890bde7c65cb466040c5f0c8b732812d7f0e5e"}, + {file = "black-24.8.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9e84e33b37be070ba135176c123ae52a51f82306def9f7d063ee302ecab2cf47"}, + {file = "black-24.8.0-cp39-cp39-win_amd64.whl", hash = "sha256:73bbf84ed136e45d451a260c6b73ed674652f90a2b3211d6a35e78054563a9bb"}, + {file = "black-24.8.0-py3-none-any.whl", hash = "sha256:972085c618ee94f402da1af548a4f218c754ea7e5dc70acb168bfaca4c2542ed"}, + {file = "black-24.8.0.tar.gz", hash = "sha256:2500945420b6784c38b9ee885af039f5e7471ef284ab03fa35ecdde4688cd83f"}, ] [package.dependencies] @@ -46,26 +46,15 @@ d = ["aiohttp (>=3.7.4)", "aiohttp (>=3.7.4,!=3.9.0)"] jupyter = ["ipython (>=7.8.0)", "tokenize-rt (>=3.2.0)"] uvloop = ["uvloop (>=0.15.2)"] -[[package]] -name = "cachetools" -version = "5.3.2" -description = "Extensible memoizing collections and decorators" -optional = false -python-versions = ">=3.7" -files = [ - {file = "cachetools-5.3.2-py3-none-any.whl", hash = "sha256:861f35a13a451f94e301ce2bec7cac63e881232ccce7ed67fab9b5df4d3beaa1"}, - {file = "cachetools-5.3.2.tar.gz", hash = "sha256:086ee420196f7b2ab9ca2db2520aca326318b68fe5ba8bc4d49cca91add450f2"}, -] - [[package]] name = "certifi" -version = "2023.7.22" +version = "2024.8.30" description = "Python package for providing Mozilla's CA Bundle." optional = false python-versions = ">=3.6" files = [ - {file = "certifi-2023.7.22-py3-none-any.whl", hash = "sha256:92d6037539857d8206b8f6ae472e8b77db8058fec5937a1ef3f54304089edbb9"}, - {file = "certifi-2023.7.22.tar.gz", hash = "sha256:539cc1d13202e33ca466e88b2807e29f4c13049d6d87031a3c110744495cb082"}, + {file = "certifi-2024.8.30-py3-none-any.whl", hash = "sha256:922820b53db7a7257ffbda3f597266d435245903d80737e34f8a45ff3e3230d8"}, + {file = "certifi-2024.8.30.tar.gz", hash = "sha256:bec941d2aa8195e248a60b31ff9f0558284cf01a52591ceda73ea9afffd69fd9"}, ] [[package]] @@ -216,138 +205,67 @@ files = [ [[package]] name = "filelock" -version = "3.13.1" +version = "3.16.0" description = "A platform independent file lock." optional = false python-versions = ">=3.8" files = [ - {file = "filelock-3.13.1-py3-none-any.whl", hash = "sha256:57dbda9b35157b05fb3e58ee91448612eb674172fab98ee235ccb0b5bee19a1c"}, - {file = "filelock-3.13.1.tar.gz", hash = "sha256:521f5f56c50f8426f5e03ad3b281b490a87ef15bc6c526f168290f0c7148d44e"}, -] - -[package.extras] -docs = ["furo (>=2023.9.10)", "sphinx (>=7.2.6)", "sphinx-autodoc-typehints (>=1.24)"] -testing = ["covdefaults (>=2.3)", "coverage (>=7.3.2)", "diff-cover (>=8)", "pytest (>=7.4.3)", "pytest-cov (>=4.1)", "pytest-mock (>=3.12)", "pytest-timeout (>=2.2)"] -typing = ["typing-extensions (>=4.8)"] - -[[package]] -name = "google-api-core" -version = "2.14.0" -description = "Google API client core library" -optional = false -python-versions = ">=3.7" -files = [ - {file = "google-api-core-2.14.0.tar.gz", hash = "sha256:5368a4502b793d9bbf812a5912e13e4e69f9bd87f6efb508460c43f5bbd1ce41"}, - {file = "google_api_core-2.14.0-py3-none-any.whl", hash = "sha256:de2fb50ed34d47ddbb2bd2dcf680ee8fead46279f4ed6b16de362aca23a18952"}, + {file = "filelock-3.16.0-py3-none-any.whl", hash = "sha256:f6ed4c963184f4c84dd5557ce8fece759a3724b37b80c6c4f20a2f63a4dc6609"}, + {file = "filelock-3.16.0.tar.gz", hash = "sha256:81de9eb8453c769b63369f87f11131a7ab04e367f8d97ad39dc230daa07e3bec"}, ] -[package.dependencies] -google-auth = ">=2.14.1,<3.0.dev0" -googleapis-common-protos = ">=1.56.2,<2.0.dev0" -protobuf = ">=3.19.5,<3.20.0 || >3.20.0,<3.20.1 || >3.20.1,<4.21.0 || >4.21.0,<4.21.1 || >4.21.1,<4.21.2 || >4.21.2,<4.21.3 || >4.21.3,<4.21.4 || >4.21.4,<4.21.5 || >4.21.5,<5.0.0.dev0" -requests = ">=2.18.0,<3.0.0.dev0" - [package.extras] -grpc = ["grpcio (>=1.33.2,<2.0dev)", "grpcio (>=1.49.1,<2.0dev)", "grpcio-status (>=1.33.2,<2.0.dev0)", "grpcio-status (>=1.49.1,<2.0.dev0)"] -grpcgcp = ["grpcio-gcp (>=0.2.2,<1.0.dev0)"] -grpcio-gcp = ["grpcio-gcp (>=0.2.2,<1.0.dev0)"] - -[[package]] -name = "google-api-python-client" -version = "2.108.0" -description = "Google API Client Library for Python" -optional = false -python-versions = ">=3.7" -files = [ - {file = "google-api-python-client-2.108.0.tar.gz", hash = "sha256:6396efca83185fb205c0abdbc1c2ee57b40475578c6af37f6d0e30a639aade99"}, - {file = "google_api_python_client-2.108.0-py2.py3-none-any.whl", hash = "sha256:9d1327213e388943ebcd7db5ce6e7f47987a7e6874e3e1f6116010eea4a0e75d"}, -] - -[package.dependencies] -google-api-core = ">=1.31.5,<2.0.dev0 || >2.3.0,<3.0.0.dev0" -google-auth = ">=1.19.0,<3.0.0.dev0" -google-auth-httplib2 = ">=0.1.0" -httplib2 = ">=0.15.0,<1.dev0" -uritemplate = ">=3.0.1,<5" +docs = ["furo (>=2024.8.6)", "sphinx (>=8.0.2)", "sphinx-autodoc-typehints (>=2.4)"] +testing = ["covdefaults (>=2.3)", "coverage (>=7.6.1)", "diff-cover (>=9.1.1)", "pytest (>=8.3.2)", "pytest-asyncio (>=0.24)", "pytest-cov (>=5)", "pytest-mock (>=3.14)", "pytest-timeout (>=2.3.1)", "virtualenv (>=20.26.3)"] +typing = ["typing-extensions (>=4.12.2)"] [[package]] -name = "google-auth" -version = "2.23.4" -description = "Google Authentication Library" +name = "googleapis-googleapis-protocolbuffers-pyi" +version = "28.1.0.1.20240827201746+e7f8d366f526" +description = "This package contains generated code for the protobuf module googleapis/googleapis when generated with the plugin protocolbuffers/pyi." optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "google-auth-2.23.4.tar.gz", hash = "sha256:79905d6b1652187def79d491d6e23d0cbb3a21d3c7ba0dbaa9c8a01906b13ff3"}, - {file = "google_auth-2.23.4-py2.py3-none-any.whl", hash = "sha256:d4bbc92fe4b8bfd2f3e8d88e5ba7085935da208ee38a134fc280e7ce682a05f2"}, + {file = "googleapis_googleapis_protocolbuffers_pyi-28.1.0.1.20240827201746+e7f8d366f526-py3-none-any.whl", hash = "sha256:fcc2148628b85495a848ddef4c61a4b31797245c3f6b75ecb550b14ee3255a6a"}, ] [package.dependencies] -cachetools = ">=2.0.0,<6.0" -pyasn1-modules = ">=0.2.1" -rsa = ">=3.1.4,<5" - -[package.extras] -aiohttp = ["aiohttp (>=3.6.2,<4.0.0.dev0)", "requests (>=2.20.0,<3.0.0.dev0)"] -enterprise-cert = ["cryptography (==36.0.2)", "pyopenssl (==22.0.0)"] -pyopenssl = ["cryptography (>=38.0.3)", "pyopenssl (>=20.0.0)"] -reauth = ["pyu2f (>=0.1.5)"] -requests = ["requests (>=2.20.0,<3.0.0.dev0)"] - -[[package]] -name = "google-auth-httplib2" -version = "0.1.1" -description = "Google Authentication Library: httplib2 transport" -optional = false -python-versions = "*" -files = [ - {file = "google-auth-httplib2-0.1.1.tar.gz", hash = "sha256:c64bc555fdc6dd788ea62ecf7bccffcf497bf77244887a3f3d7a5a02f8e3fc29"}, - {file = "google_auth_httplib2-0.1.1-py2.py3-none-any.whl", hash = "sha256:42c50900b8e4dcdf8222364d1f0efe32b8421fb6ed72f2613f12f75cc933478c"}, -] +protobuf = ">=5.28.1,<5.29.0" +types-protobuf = ">=5.27,<6.0" -[package.dependencies] -google-auth = "*" -httplib2 = ">=0.19.0" +[package.source] +type = "legacy" +url = "https://buf.build/gen/python" +reference = "buf" [[package]] -name = "googleapis-common-protos" -version = "1.61.0" -description = "Common protobufs used in Google APIs" +name = "googleapis-googleapis-protocolbuffers-python" +version = "28.1.0.1.20240827201746+e7f8d366f526" +description = "This package contains generated code for the protobuf module googleapis/googleapis when generated with the plugin protocolbuffers/python." optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "googleapis-common-protos-1.61.0.tar.gz", hash = "sha256:8a64866a97f6304a7179873a465d6eee97b7a24ec6cfd78e0f575e96b821240b"}, - {file = "googleapis_common_protos-1.61.0-py2.py3-none-any.whl", hash = "sha256:22f1915393bb3245343f6efe87f6fe868532efc12aa26b391b15132e1279f1c0"}, + {file = "googleapis_googleapis_protocolbuffers_python-28.1.0.1.20240827201746+e7f8d366f526-py3-none-any.whl", hash = "sha256:3786975cc9d364dad7115878098f94c4bc363ce777c34b8c109944d79c6ea1d4"}, ] [package.dependencies] -protobuf = ">=3.19.5,<3.20.0 || >3.20.0,<3.20.1 || >3.20.1,<4.21.1 || >4.21.1,<4.21.2 || >4.21.2,<4.21.3 || >4.21.3,<4.21.4 || >4.21.4,<4.21.5 || >4.21.5,<5.0.0.dev0" - -[package.extras] -grpc = ["grpcio (>=1.44.0,<2.0.0.dev0)"] - -[[package]] -name = "httplib2" -version = "0.22.0" -description = "A comprehensive HTTP client library." -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" -files = [ - {file = "httplib2-0.22.0-py3-none-any.whl", hash = "sha256:14ae0a53c1ba8f3d37e9e27cf37eabb0fb9980f435ba405d546948b009dd64dc"}, - {file = "httplib2-0.22.0.tar.gz", hash = "sha256:d7a10bc5ef5ab08322488bde8c726eeee5c8618723fdb399597ec58f3d82df81"}, -] +googleapis-googleapis-protocolbuffers-pyi = ">=28.1.0.1.20240827201746" +protobuf = ">=5.28.1,<5.29.0" -[package.dependencies] -pyparsing = {version = ">=2.4.2,<3.0.0 || >3.0.0,<3.0.1 || >3.0.1,<3.0.2 || >3.0.2,<3.0.3 || >3.0.3,<4", markers = "python_version > \"3.0\""} +[package.source] +type = "legacy" +url = "https://buf.build/gen/python" +reference = "buf" [[package]] name = "identify" -version = "2.5.35" +version = "2.6.1" description = "File identification library for Python" optional = false python-versions = ">=3.8" files = [ - {file = "identify-2.5.35-py2.py3-none-any.whl", hash = "sha256:c4de0081837b211594f8e877a6b4fad7ca32bbfc1a9307fdd61c28bfe923f13e"}, - {file = "identify-2.5.35.tar.gz", hash = "sha256:10a7ca245cfcd756a554a7288159f72ff105ad233c7c4b9c6f0f4d108f5f6791"}, + {file = "identify-2.6.1-py2.py3-none-any.whl", hash = "sha256:53863bcac7caf8d2ed85bd20312ea5dcfc22226800f6d6881f232d861db5a8f0"}, + {file = "identify-2.6.1.tar.gz", hash = "sha256:91478c5fb7c3aac5ff7bf9b4344f803843dc586832d5f110d672b19aa1984c98"}, ] [package.extras] @@ -355,15 +273,18 @@ license = ["ukkonen"] [[package]] name = "idna" -version = "3.4" +version = "3.9" description = "Internationalized Domain Names in Applications (IDNA)" optional = false -python-versions = ">=3.5" +python-versions = ">=3.6" files = [ - {file = "idna-3.4-py3-none-any.whl", hash = "sha256:90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2"}, - {file = "idna-3.4.tar.gz", hash = "sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4"}, + {file = "idna-3.9-py3-none-any.whl", hash = "sha256:69297d5da0cc9281c77efffb4e730254dd45943f45bbfb461de5991713989b1e"}, + {file = "idna-3.9.tar.gz", hash = "sha256:e5c5dafde284f26e9e0f28f6ea2d6400abd5ca099864a67f576f3981c6476124"}, ] +[package.extras] +all = ["flake8 (>=7.1.1)", "mypy (>=1.11.2)", "pytest (>=8.3.2)", "ruff (>=0.6.2)"] + [[package]] name = "isort" version = "5.13.2" @@ -380,44 +301,44 @@ colors = ["colorama (>=0.4.6)"] [[package]] name = "mypy" -version = "1.9.0" +version = "1.11.2" description = "Optional static typing for Python" optional = false python-versions = ">=3.8" files = [ - {file = "mypy-1.9.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:f8a67616990062232ee4c3952f41c779afac41405806042a8126fe96e098419f"}, - {file = "mypy-1.9.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:d357423fa57a489e8c47b7c85dfb96698caba13d66e086b412298a1a0ea3b0ed"}, - {file = "mypy-1.9.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:49c87c15aed320de9b438ae7b00c1ac91cd393c1b854c2ce538e2a72d55df150"}, - {file = "mypy-1.9.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:48533cdd345c3c2e5ef48ba3b0d3880b257b423e7995dada04248725c6f77374"}, - {file = "mypy-1.9.0-cp310-cp310-win_amd64.whl", hash = "sha256:4d3dbd346cfec7cb98e6cbb6e0f3c23618af826316188d587d1c1bc34f0ede03"}, - {file = "mypy-1.9.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:653265f9a2784db65bfca694d1edd23093ce49740b2244cde583aeb134c008f3"}, - {file = "mypy-1.9.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:3a3c007ff3ee90f69cf0a15cbcdf0995749569b86b6d2f327af01fd1b8aee9dc"}, - {file = "mypy-1.9.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2418488264eb41f69cc64a69a745fad4a8f86649af4b1041a4c64ee61fc61129"}, - {file = "mypy-1.9.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:68edad3dc7d70f2f17ae4c6c1b9471a56138ca22722487eebacfd1eb5321d612"}, - {file = "mypy-1.9.0-cp311-cp311-win_amd64.whl", hash = "sha256:85ca5fcc24f0b4aeedc1d02f93707bccc04733f21d41c88334c5482219b1ccb3"}, - {file = "mypy-1.9.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:aceb1db093b04db5cd390821464504111b8ec3e351eb85afd1433490163d60cd"}, - {file = "mypy-1.9.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:0235391f1c6f6ce487b23b9dbd1327b4ec33bb93934aa986efe8a9563d9349e6"}, - {file = "mypy-1.9.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d4d5ddc13421ba3e2e082a6c2d74c2ddb3979c39b582dacd53dd5d9431237185"}, - {file = "mypy-1.9.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:190da1ee69b427d7efa8aa0d5e5ccd67a4fb04038c380237a0d96829cb157913"}, - {file = "mypy-1.9.0-cp312-cp312-win_amd64.whl", hash = "sha256:fe28657de3bfec596bbeef01cb219833ad9d38dd5393fc649f4b366840baefe6"}, - {file = "mypy-1.9.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:e54396d70be04b34f31d2edf3362c1edd023246c82f1730bbf8768c28db5361b"}, - {file = "mypy-1.9.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:5e6061f44f2313b94f920e91b204ec600982961e07a17e0f6cd83371cb23f5c2"}, - {file = "mypy-1.9.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:81a10926e5473c5fc3da8abb04119a1f5811a236dc3a38d92015cb1e6ba4cb9e"}, - {file = "mypy-1.9.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:b685154e22e4e9199fc95f298661deea28aaede5ae16ccc8cbb1045e716b3e04"}, - {file = "mypy-1.9.0-cp38-cp38-win_amd64.whl", hash = "sha256:5d741d3fc7c4da608764073089e5f58ef6352bedc223ff58f2f038c2c4698a89"}, - {file = "mypy-1.9.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:587ce887f75dd9700252a3abbc9c97bbe165a4a630597845c61279cf32dfbf02"}, - {file = "mypy-1.9.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:f88566144752999351725ac623471661c9d1cd8caa0134ff98cceeea181789f4"}, - {file = "mypy-1.9.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:61758fabd58ce4b0720ae1e2fea5cfd4431591d6d590b197775329264f86311d"}, - {file = "mypy-1.9.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:e49499be624dead83927e70c756970a0bc8240e9f769389cdf5714b0784ca6bf"}, - {file = "mypy-1.9.0-cp39-cp39-win_amd64.whl", hash = "sha256:571741dc4194b4f82d344b15e8837e8c5fcc462d66d076748142327626a1b6e9"}, - {file = "mypy-1.9.0-py3-none-any.whl", hash = "sha256:a260627a570559181a9ea5de61ac6297aa5af202f06fd7ab093ce74e7181e43e"}, - {file = "mypy-1.9.0.tar.gz", hash = "sha256:3cc5da0127e6a478cddd906068496a97a7618a21ce9b54bde5bf7e539c7af974"}, + {file = "mypy-1.11.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d42a6dd818ffce7be66cce644f1dff482f1d97c53ca70908dff0b9ddc120b77a"}, + {file = "mypy-1.11.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:801780c56d1cdb896eacd5619a83e427ce436d86a3bdf9112527f24a66618fef"}, + {file = "mypy-1.11.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:41ea707d036a5307ac674ea172875f40c9d55c5394f888b168033177fce47383"}, + {file = "mypy-1.11.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:6e658bd2d20565ea86da7d91331b0eed6d2eee22dc031579e6297f3e12c758c8"}, + {file = "mypy-1.11.2-cp310-cp310-win_amd64.whl", hash = "sha256:478db5f5036817fe45adb7332d927daa62417159d49783041338921dcf646fc7"}, + {file = "mypy-1.11.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:75746e06d5fa1e91bfd5432448d00d34593b52e7e91a187d981d08d1f33d4385"}, + {file = "mypy-1.11.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:a976775ab2256aadc6add633d44f100a2517d2388906ec4f13231fafbb0eccca"}, + {file = "mypy-1.11.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:cd953f221ac1379050a8a646585a29574488974f79d8082cedef62744f0a0104"}, + {file = "mypy-1.11.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:57555a7715c0a34421013144a33d280e73c08df70f3a18a552938587ce9274f4"}, + {file = "mypy-1.11.2-cp311-cp311-win_amd64.whl", hash = "sha256:36383a4fcbad95f2657642a07ba22ff797de26277158f1cc7bd234821468b1b6"}, + {file = "mypy-1.11.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:e8960dbbbf36906c5c0b7f4fbf2f0c7ffb20f4898e6a879fcf56a41a08b0d318"}, + {file = "mypy-1.11.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:06d26c277962f3fb50e13044674aa10553981ae514288cb7d0a738f495550b36"}, + {file = "mypy-1.11.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6e7184632d89d677973a14d00ae4d03214c8bc301ceefcdaf5c474866814c987"}, + {file = "mypy-1.11.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:3a66169b92452f72117e2da3a576087025449018afc2d8e9bfe5ffab865709ca"}, + {file = "mypy-1.11.2-cp312-cp312-win_amd64.whl", hash = "sha256:969ea3ef09617aff826885a22ece0ddef69d95852cdad2f60c8bb06bf1f71f70"}, + {file = "mypy-1.11.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:37c7fa6121c1cdfcaac97ce3d3b5588e847aa79b580c1e922bb5d5d2902df19b"}, + {file = "mypy-1.11.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:4a8a53bc3ffbd161b5b2a4fff2f0f1e23a33b0168f1c0778ec70e1a3d66deb86"}, + {file = "mypy-1.11.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2ff93107f01968ed834f4256bc1fc4475e2fecf6c661260066a985b52741ddce"}, + {file = "mypy-1.11.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:edb91dded4df17eae4537668b23f0ff6baf3707683734b6a818d5b9d0c0c31a1"}, + {file = "mypy-1.11.2-cp38-cp38-win_amd64.whl", hash = "sha256:ee23de8530d99b6db0573c4ef4bd8f39a2a6f9b60655bf7a1357e585a3486f2b"}, + {file = "mypy-1.11.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:801ca29f43d5acce85f8e999b1e431fb479cb02d0e11deb7d2abb56bdaf24fd6"}, + {file = "mypy-1.11.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:af8d155170fcf87a2afb55b35dc1a0ac21df4431e7d96717621962e4b9192e70"}, + {file = "mypy-1.11.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f7821776e5c4286b6a13138cc935e2e9b6fde05e081bdebf5cdb2bb97c9df81d"}, + {file = "mypy-1.11.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:539c570477a96a4e6fb718b8d5c3e0c0eba1f485df13f86d2970c91f0673148d"}, + {file = "mypy-1.11.2-cp39-cp39-win_amd64.whl", hash = "sha256:3f14cd3d386ac4d05c5a39a51b84387403dadbd936e17cb35882134d4f8f0d24"}, + {file = "mypy-1.11.2-py3-none-any.whl", hash = "sha256:b499bc07dbdcd3de92b0a8b29fdf592c111276f6a12fe29c30f6c417dd546d12"}, + {file = "mypy-1.11.2.tar.gz", hash = "sha256:7f9993ad3e0ffdc95c2a14b66dee63729f021968bff8ad911867579c65d13a79"}, ] [package.dependencies] mypy-extensions = ">=1.0.0" tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} -typing-extensions = ">=4.1.0" +typing-extensions = ">=4.6.0" [package.extras] dmypy = ["psutil (>=4.0)"] @@ -438,18 +359,15 @@ files = [ [[package]] name = "nodeenv" -version = "1.8.0" +version = "1.9.1" description = "Node.js virtual environment builder" optional = false -python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*" +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" files = [ - {file = "nodeenv-1.8.0-py2.py3-none-any.whl", hash = "sha256:df865724bb3c3adc86b3876fa209771517b0cfe596beff01a92700e0e8be4cec"}, - {file = "nodeenv-1.8.0.tar.gz", hash = "sha256:d51e0c37e64fbf47d017feac3145cdbb58836d7eee8c6f6d3b6880c5456227d2"}, + {file = "nodeenv-1.9.1-py2.py3-none-any.whl", hash = "sha256:ba11c9782d29c27c70ffbdda2d7415098754709be8a7056d79a737cd901155c9"}, + {file = "nodeenv-1.9.1.tar.gz", hash = "sha256:6ec12890a2dab7946721edbfbcd91f3319c6ccc9aec47be7c7e6b7011ee6645f"}, ] -[package.dependencies] -setuptools = "*" - [[package]] name = "packaging" version = "23.2" @@ -508,18 +426,19 @@ pytzdata = ">=2020.1" [[package]] name = "platformdirs" -version = "3.11.0" -description = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." +version = "4.3.3" +description = "A small Python package for determining appropriate platform-specific dirs, e.g. a `user data dir`." optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "platformdirs-3.11.0-py3-none-any.whl", hash = "sha256:e9d171d00af68be50e9202731309c4e658fd8bc76f55c11c7dd760d023bda68e"}, - {file = "platformdirs-3.11.0.tar.gz", hash = "sha256:cf8ee52a3afdb965072dcc652433e0c7e3e40cf5ea1477cd4b3b1d2eb75495b3"}, + {file = "platformdirs-4.3.3-py3-none-any.whl", hash = "sha256:50a5450e2e84f44539718293cbb1da0a0885c9d14adf21b77bae4e66fc99d9b5"}, + {file = "platformdirs-4.3.3.tar.gz", hash = "sha256:d4e0b7d8ec176b341fb03cb11ca12d0276faa8c485f9cd218f613840463fc2c0"}, ] [package.extras] -docs = ["furo (>=2023.7.26)", "proselint (>=0.13)", "sphinx (>=7.1.1)", "sphinx-autodoc-typehints (>=1.24)"] -test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=7.4)", "pytest-cov (>=4.1)", "pytest-mock (>=3.11.1)"] +docs = ["furo (>=2024.8.6)", "proselint (>=0.14)", "sphinx (>=8.0.2)", "sphinx-autodoc-typehints (>=2.4)"] +test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=8.3.2)", "pytest-cov (>=5)", "pytest-mock (>=3.14)"] +type = ["mypy (>=1.11.2)"] [[package]] name = "pre-commit" @@ -541,72 +460,33 @@ virtualenv = ">=20.10.0" [[package]] name = "protobuf" -version = "4.25.1" +version = "5.28.1" description = "" optional = false python-versions = ">=3.8" files = [ - {file = "protobuf-4.25.1-cp310-abi3-win32.whl", hash = "sha256:193f50a6ab78a970c9b4f148e7c750cfde64f59815e86f686c22e26b4fe01ce7"}, - {file = "protobuf-4.25.1-cp310-abi3-win_amd64.whl", hash = "sha256:3497c1af9f2526962f09329fd61a36566305e6c72da2590ae0d7d1322818843b"}, - {file = "protobuf-4.25.1-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:0bf384e75b92c42830c0a679b0cd4d6e2b36ae0cf3dbb1e1dfdda48a244f4bcd"}, - {file = "protobuf-4.25.1-cp37-abi3-manylinux2014_aarch64.whl", hash = "sha256:0f881b589ff449bf0b931a711926e9ddaad3b35089cc039ce1af50b21a4ae8cb"}, - {file = "protobuf-4.25.1-cp37-abi3-manylinux2014_x86_64.whl", hash = "sha256:ca37bf6a6d0046272c152eea90d2e4ef34593aaa32e8873fc14c16440f22d4b7"}, - {file = "protobuf-4.25.1-cp38-cp38-win32.whl", hash = "sha256:abc0525ae2689a8000837729eef7883b9391cd6aa7950249dcf5a4ede230d5dd"}, - {file = "protobuf-4.25.1-cp38-cp38-win_amd64.whl", hash = "sha256:1484f9e692091450e7edf418c939e15bfc8fc68856e36ce399aed6889dae8bb0"}, - {file = "protobuf-4.25.1-cp39-cp39-win32.whl", hash = "sha256:8bdbeaddaac52d15c6dce38c71b03038ef7772b977847eb6d374fc86636fa510"}, - {file = "protobuf-4.25.1-cp39-cp39-win_amd64.whl", hash = "sha256:becc576b7e6b553d22cbdf418686ee4daa443d7217999125c045ad56322dda10"}, - {file = "protobuf-4.25.1-py3-none-any.whl", hash = "sha256:a19731d5e83ae4737bb2a089605e636077ac001d18781b3cf489b9546c7c80d6"}, - {file = "protobuf-4.25.1.tar.gz", hash = "sha256:57d65074b4f5baa4ab5da1605c02be90ac20c8b40fb137d6a8df9f416b0d0ce2"}, -] - -[[package]] -name = "pyasn1" -version = "0.5.0" -description = "Pure-Python implementation of ASN.1 types and DER/BER/CER codecs (X.208)" -optional = false -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7" -files = [ - {file = "pyasn1-0.5.0-py2.py3-none-any.whl", hash = "sha256:87a2121042a1ac9358cabcaf1d07680ff97ee6404333bacca15f76aa8ad01a57"}, - {file = "pyasn1-0.5.0.tar.gz", hash = "sha256:97b7290ca68e62a832558ec3976f15cbf911bf5d7c7039d8b861c2a0ece69fde"}, -] - -[[package]] -name = "pyasn1-modules" -version = "0.3.0" -description = "A collection of ASN.1-based protocols modules" -optional = false -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7" -files = [ - {file = "pyasn1_modules-0.3.0-py2.py3-none-any.whl", hash = "sha256:d3ccd6ed470d9ffbc716be08bd90efbd44d0734bc9303818f7336070984a162d"}, - {file = "pyasn1_modules-0.3.0.tar.gz", hash = "sha256:5bd01446b736eb9d31512a30d46c1ac3395d676c6f3cafa4c03eb54b9925631c"}, -] - -[package.dependencies] -pyasn1 = ">=0.4.6,<0.6.0" - -[[package]] -name = "pyparsing" -version = "3.1.1" -description = "pyparsing module - Classes and methods to define and execute parsing grammars" -optional = false -python-versions = ">=3.6.8" -files = [ - {file = "pyparsing-3.1.1-py3-none-any.whl", hash = "sha256:32c7c0b711493c72ff18a981d24f28aaf9c1fb7ed5e9667c9e84e3db623bdbfb"}, - {file = "pyparsing-3.1.1.tar.gz", hash = "sha256:ede28a1a32462f5a9705e07aea48001a08f7cf81a021585011deba701581a0db"}, + {file = "protobuf-5.28.1-cp310-abi3-win32.whl", hash = "sha256:fc063acaf7a3d9ca13146fefb5b42ac94ab943ec6e978f543cd5637da2d57957"}, + {file = "protobuf-5.28.1-cp310-abi3-win_amd64.whl", hash = "sha256:4c7f5cb38c640919791c9f74ea80c5b82314c69a8409ea36f2599617d03989af"}, + {file = "protobuf-5.28.1-cp38-abi3-macosx_10_9_universal2.whl", hash = "sha256:4304e4fceb823d91699e924a1fdf95cde0e066f3b1c28edb665bda762ecde10f"}, + {file = "protobuf-5.28.1-cp38-abi3-manylinux2014_aarch64.whl", hash = "sha256:0dfd86d2b5edf03d91ec2a7c15b4e950258150f14f9af5f51c17fa224ee1931f"}, + {file = "protobuf-5.28.1-cp38-abi3-manylinux2014_x86_64.whl", hash = "sha256:51f09caab818707ab91cf09cc5c156026599cf05a4520779ccbf53c1b352fb25"}, + {file = "protobuf-5.28.1-cp38-cp38-win32.whl", hash = "sha256:1b04bde117a10ff9d906841a89ec326686c48ececeb65690f15b8cabe7149495"}, + {file = "protobuf-5.28.1-cp38-cp38-win_amd64.whl", hash = "sha256:cabfe43044ee319ad6832b2fda332646f9ef1636b0130186a3ae0a52fc264bb4"}, + {file = "protobuf-5.28.1-cp39-cp39-win32.whl", hash = "sha256:4b4b9a0562a35773ff47a3df823177ab71a1f5eb1ff56d8f842b7432ecfd7fd2"}, + {file = "protobuf-5.28.1-cp39-cp39-win_amd64.whl", hash = "sha256:f24e5d70e6af8ee9672ff605d5503491635f63d5db2fffb6472be78ba62efd8f"}, + {file = "protobuf-5.28.1-py3-none-any.whl", hash = "sha256:c529535e5c0effcf417682563719e5d8ac8d2b93de07a56108b4c2d436d7a29a"}, + {file = "protobuf-5.28.1.tar.gz", hash = "sha256:42597e938f83bb7f3e4b35f03aa45208d49ae8d5bcb4bc10b9fc825e0ab5e423"}, ] -[package.extras] -diagrams = ["jinja2", "railroad-diagrams"] - [[package]] name = "python-dateutil" -version = "2.8.2" +version = "2.9.0.post0" description = "Extensions to the standard Python datetime module" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" files = [ - {file = "python-dateutil-2.8.2.tar.gz", hash = "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86"}, - {file = "python_dateutil-2.8.2-py2.py3-none-any.whl", hash = "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"}, + {file = "python-dateutil-2.9.0.post0.tar.gz", hash = "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3"}, + {file = "python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427"}, ] [package.dependencies] @@ -625,62 +505,75 @@ files = [ [[package]] name = "pyyaml" -version = "6.0.1" +version = "6.0.2" description = "YAML parser and emitter for Python" optional = false -python-versions = ">=3.6" +python-versions = ">=3.8" files = [ - {file = "PyYAML-6.0.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d858aa552c999bc8a8d57426ed01e40bef403cd8ccdd0fc5f6f04a00414cac2a"}, - {file = "PyYAML-6.0.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:fd66fc5d0da6d9815ba2cebeb4205f95818ff4b79c3ebe268e75d961704af52f"}, - {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:69b023b2b4daa7548bcfbd4aa3da05b3a74b772db9e23b982788168117739938"}, - {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:81e0b275a9ecc9c0c0c07b4b90ba548307583c125f54d5b6946cfee6360c733d"}, - {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ba336e390cd8e4d1739f42dfe9bb83a3cc2e80f567d8805e11b46f4a943f5515"}, - {file = "PyYAML-6.0.1-cp310-cp310-win32.whl", hash = "sha256:bd4af7373a854424dabd882decdc5579653d7868b8fb26dc7d0e99f823aa5924"}, - {file = "PyYAML-6.0.1-cp310-cp310-win_amd64.whl", hash = "sha256:fd1592b3fdf65fff2ad0004b5e363300ef59ced41c2e6b3a99d4089fa8c5435d"}, - {file = "PyYAML-6.0.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6965a7bc3cf88e5a1c3bd2e0b5c22f8d677dc88a455344035f03399034eb3007"}, - {file = "PyYAML-6.0.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f003ed9ad21d6a4713f0a9b5a7a0a79e08dd0f221aff4525a2be4c346ee60aab"}, - {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:42f8152b8dbc4fe7d96729ec2b99c7097d656dc1213a3229ca5383f973a5ed6d"}, - {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:062582fca9fabdd2c8b54a3ef1c978d786e0f6b3a1510e0ac93ef59e0ddae2bc"}, - {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d2b04aac4d386b172d5b9692e2d2da8de7bfb6c387fa4f801fbf6fb2e6ba4673"}, - {file = "PyYAML-6.0.1-cp311-cp311-win32.whl", hash = "sha256:1635fd110e8d85d55237ab316b5b011de701ea0f29d07611174a1b42f1444741"}, - {file = "PyYAML-6.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34"}, - {file = "PyYAML-6.0.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:50550eb667afee136e9a77d6dc71ae76a44df8b3e51e41b77f6de2932bfe0f47"}, - {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1fe35611261b29bd1de0070f0b2f47cb6ff71fa6595c077e42bd0c419fa27b98"}, - {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:704219a11b772aea0d8ecd7058d0082713c3562b4e271b849ad7dc4a5c90c13c"}, - {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:afd7e57eddb1a54f0f1a974bc4391af8bcce0b444685d936840f125cf046d5bd"}, - {file = "PyYAML-6.0.1-cp36-cp36m-win32.whl", hash = "sha256:fca0e3a251908a499833aa292323f32437106001d436eca0e6e7833256674585"}, - {file = "PyYAML-6.0.1-cp36-cp36m-win_amd64.whl", hash = "sha256:f22ac1c3cac4dbc50079e965eba2c1058622631e526bd9afd45fedd49ba781fa"}, - {file = "PyYAML-6.0.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:b1275ad35a5d18c62a7220633c913e1b42d44b46ee12554e5fd39c70a243d6a3"}, - {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:18aeb1bf9a78867dc38b259769503436b7c72f7a1f1f4c93ff9a17de54319b27"}, - {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:596106435fa6ad000c2991a98fa58eeb8656ef2325d7e158344fb33864ed87e3"}, - {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:baa90d3f661d43131ca170712d903e6295d1f7a0f595074f151c0aed377c9b9c"}, - {file = "PyYAML-6.0.1-cp37-cp37m-win32.whl", hash = "sha256:9046c58c4395dff28dd494285c82ba00b546adfc7ef001486fbf0324bc174fba"}, - {file = "PyYAML-6.0.1-cp37-cp37m-win_amd64.whl", hash = "sha256:4fb147e7a67ef577a588a0e2c17b6db51dda102c71de36f8549b6816a96e1867"}, - {file = "PyYAML-6.0.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1d4c7e777c441b20e32f52bd377e0c409713e8bb1386e1099c2415f26e479595"}, - {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a0cd17c15d3bb3fa06978b4e8958dcdc6e0174ccea823003a106c7d4d7899ac5"}, - {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:28c119d996beec18c05208a8bd78cbe4007878c6dd15091efb73a30e90539696"}, - {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7e07cbde391ba96ab58e532ff4803f79c4129397514e1413a7dc761ccd755735"}, - {file = "PyYAML-6.0.1-cp38-cp38-win32.whl", hash = "sha256:184c5108a2aca3c5b3d3bf9395d50893a7ab82a38004c8f61c258d4428e80206"}, - {file = "PyYAML-6.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:1e2722cc9fbb45d9b87631ac70924c11d3a401b2d7f410cc0e3bbf249f2dca62"}, - {file = "PyYAML-6.0.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:9eb6caa9a297fc2c2fb8862bc5370d0303ddba53ba97e71f08023b6cd73d16a8"}, - {file = "PyYAML-6.0.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:c8098ddcc2a85b61647b2590f825f3db38891662cfc2fc776415143f599bb859"}, - {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5773183b6446b2c99bb77e77595dd486303b4faab2b086e7b17bc6bef28865f6"}, - {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b786eecbdf8499b9ca1d697215862083bd6d2a99965554781d0d8d1ad31e13a0"}, - {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bc1bf2925a1ecd43da378f4db9e4f799775d6367bdb94671027b73b393a7c42c"}, - {file = "PyYAML-6.0.1-cp39-cp39-win32.whl", hash = "sha256:faca3bdcf85b2fc05d06ff3fbc1f83e1391b3e724afa3feba7d13eeab355484c"}, - {file = "PyYAML-6.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:510c9deebc5c0225e8c96813043e62b680ba2f9c50a08d3724c7f28a747d1486"}, - {file = "PyYAML-6.0.1.tar.gz", hash = "sha256:bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43"}, + {file = "PyYAML-6.0.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0a9a2848a5b7feac301353437eb7d5957887edbf81d56e903999a75a3d743086"}, + {file = "PyYAML-6.0.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:29717114e51c84ddfba879543fb232a6ed60086602313ca38cce623c1d62cfbf"}, + {file = "PyYAML-6.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8824b5a04a04a047e72eea5cec3bc266db09e35de6bdfe34c9436ac5ee27d237"}, + {file = "PyYAML-6.0.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7c36280e6fb8385e520936c3cb3b8042851904eba0e58d277dca80a5cfed590b"}, + {file = "PyYAML-6.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ec031d5d2feb36d1d1a24380e4db6d43695f3748343d99434e6f5f9156aaa2ed"}, + {file = "PyYAML-6.0.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:936d68689298c36b53b29f23c6dbb74de12b4ac12ca6cfe0e047bedceea56180"}, + {file = "PyYAML-6.0.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:23502f431948090f597378482b4812b0caae32c22213aecf3b55325e049a6c68"}, + {file = "PyYAML-6.0.2-cp310-cp310-win32.whl", hash = "sha256:2e99c6826ffa974fe6e27cdb5ed0021786b03fc98e5ee3c5bfe1fd5015f42b99"}, + {file = "PyYAML-6.0.2-cp310-cp310-win_amd64.whl", hash = "sha256:a4d3091415f010369ae4ed1fc6b79def9416358877534caf6a0fdd2146c87a3e"}, + {file = "PyYAML-6.0.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:cc1c1159b3d456576af7a3e4d1ba7e6924cb39de8f67111c735f6fc832082774"}, + {file = "PyYAML-6.0.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1e2120ef853f59c7419231f3bf4e7021f1b936f6ebd222406c3b60212205d2ee"}, + {file = "PyYAML-6.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5d225db5a45f21e78dd9358e58a98702a0302f2659a3c6cd320564b75b86f47c"}, + {file = "PyYAML-6.0.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5ac9328ec4831237bec75defaf839f7d4564be1e6b25ac710bd1a96321cc8317"}, + {file = "PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3ad2a3decf9aaba3d29c8f537ac4b243e36bef957511b4766cb0057d32b0be85"}, + {file = "PyYAML-6.0.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:ff3824dc5261f50c9b0dfb3be22b4567a6f938ccce4587b38952d85fd9e9afe4"}, + {file = "PyYAML-6.0.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:797b4f722ffa07cc8d62053e4cff1486fa6dc094105d13fea7b1de7d8bf71c9e"}, + {file = "PyYAML-6.0.2-cp311-cp311-win32.whl", hash = "sha256:11d8f3dd2b9c1207dcaf2ee0bbbfd5991f571186ec9cc78427ba5bd32afae4b5"}, + {file = "PyYAML-6.0.2-cp311-cp311-win_amd64.whl", hash = "sha256:e10ce637b18caea04431ce14fabcf5c64a1c61ec9c56b071a4b7ca131ca52d44"}, + {file = "PyYAML-6.0.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:c70c95198c015b85feafc136515252a261a84561b7b1d51e3384e0655ddf25ab"}, + {file = "PyYAML-6.0.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ce826d6ef20b1bc864f0a68340c8b3287705cae2f8b4b1d932177dcc76721725"}, + {file = "PyYAML-6.0.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1f71ea527786de97d1a0cc0eacd1defc0985dcf6b3f17bb77dcfc8c34bec4dc5"}, + {file = "PyYAML-6.0.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9b22676e8097e9e22e36d6b7bda33190d0d400f345f23d4065d48f4ca7ae0425"}, + {file = "PyYAML-6.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:80bab7bfc629882493af4aa31a4cfa43a4c57c83813253626916b8c7ada83476"}, + {file = "PyYAML-6.0.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:0833f8694549e586547b576dcfaba4a6b55b9e96098b36cdc7ebefe667dfed48"}, + {file = "PyYAML-6.0.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8b9c7197f7cb2738065c481a0461e50ad02f18c78cd75775628afb4d7137fb3b"}, + {file = "PyYAML-6.0.2-cp312-cp312-win32.whl", hash = "sha256:ef6107725bd54b262d6dedcc2af448a266975032bc85ef0172c5f059da6325b4"}, + {file = "PyYAML-6.0.2-cp312-cp312-win_amd64.whl", hash = "sha256:7e7401d0de89a9a855c839bc697c079a4af81cf878373abd7dc625847d25cbd8"}, + {file = "PyYAML-6.0.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:efdca5630322a10774e8e98e1af481aad470dd62c3170801852d752aa7a783ba"}, + {file = "PyYAML-6.0.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:50187695423ffe49e2deacb8cd10510bc361faac997de9efef88badc3bb9e2d1"}, + {file = "PyYAML-6.0.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0ffe8360bab4910ef1b9e87fb812d8bc0a308b0d0eef8c8f44e0254ab3b07133"}, + {file = "PyYAML-6.0.2-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:17e311b6c678207928d649faa7cb0d7b4c26a0ba73d41e99c4fff6b6c3276484"}, + {file = "PyYAML-6.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:70b189594dbe54f75ab3a1acec5f1e3faa7e8cf2f1e08d9b561cb41b845f69d5"}, + {file = "PyYAML-6.0.2-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:41e4e3953a79407c794916fa277a82531dd93aad34e29c2a514c2c0c5fe971cc"}, + {file = "PyYAML-6.0.2-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:68ccc6023a3400877818152ad9a1033e3db8625d899c72eacb5a668902e4d652"}, + {file = "PyYAML-6.0.2-cp313-cp313-win32.whl", hash = "sha256:bc2fa7c6b47d6bc618dd7fb02ef6fdedb1090ec036abab80d4681424b84c1183"}, + {file = "PyYAML-6.0.2-cp313-cp313-win_amd64.whl", hash = "sha256:8388ee1976c416731879ac16da0aff3f63b286ffdd57cdeb95f3f2e085687563"}, + {file = "PyYAML-6.0.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:24471b829b3bf607e04e88d79542a9d48bb037c2267d7927a874e6c205ca7e9a"}, + {file = "PyYAML-6.0.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d7fded462629cfa4b685c5416b949ebad6cec74af5e2d42905d41e257e0869f5"}, + {file = "PyYAML-6.0.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d84a1718ee396f54f3a086ea0a66d8e552b2ab2017ef8b420e92edbc841c352d"}, + {file = "PyYAML-6.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9056c1ecd25795207ad294bcf39f2db3d845767be0ea6e6a34d856f006006083"}, + {file = "PyYAML-6.0.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:82d09873e40955485746739bcb8b4586983670466c23382c19cffecbf1fd8706"}, + {file = "PyYAML-6.0.2-cp38-cp38-win32.whl", hash = "sha256:43fa96a3ca0d6b1812e01ced1044a003533c47f6ee8aca31724f78e93ccc089a"}, + {file = "PyYAML-6.0.2-cp38-cp38-win_amd64.whl", hash = "sha256:01179a4a8559ab5de078078f37e5c1a30d76bb88519906844fd7bdea1b7729ff"}, + {file = "PyYAML-6.0.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:688ba32a1cffef67fd2e9398a2efebaea461578b0923624778664cc1c914db5d"}, + {file = "PyYAML-6.0.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:a8786accb172bd8afb8be14490a16625cbc387036876ab6ba70912730faf8e1f"}, + {file = "PyYAML-6.0.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d8e03406cac8513435335dbab54c0d385e4a49e4945d2909a581c83647ca0290"}, + {file = "PyYAML-6.0.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f753120cb8181e736c57ef7636e83f31b9c0d1722c516f7e86cf15b7aa57ff12"}, + {file = "PyYAML-6.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3b1fdb9dc17f5a7677423d508ab4f243a726dea51fa5e70992e59a7411c89d19"}, + {file = "PyYAML-6.0.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:0b69e4ce7a131fe56b7e4d770c67429700908fc0752af059838b1cfb41960e4e"}, + {file = "PyYAML-6.0.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:a9f8c2e67970f13b16084e04f134610fd1d374bf477b17ec1599185cf611d725"}, + {file = "PyYAML-6.0.2-cp39-cp39-win32.whl", hash = "sha256:6395c297d42274772abc367baaa79683958044e5d3835486c16da75d2a694631"}, + {file = "PyYAML-6.0.2-cp39-cp39-win_amd64.whl", hash = "sha256:39693e1f8320ae4f43943590b49779ffb98acb81f788220ea932a6b6c51004d8"}, + {file = "pyyaml-6.0.2.tar.gz", hash = "sha256:d584d9ec91ad65861cc08d42e834324ef890a082e591037abe114850ff7bbc3e"}, ] [[package]] name = "requests" -version = "2.31.0" +version = "2.32.3" description = "Python HTTP for Humans." optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "requests-2.31.0-py3-none-any.whl", hash = "sha256:58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f"}, - {file = "requests-2.31.0.tar.gz", hash = "sha256:942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1"}, + {file = "requests-2.32.3-py3-none-any.whl", hash = "sha256:70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6"}, + {file = "requests-2.32.3.tar.gz", hash = "sha256:55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760"}, ] [package.dependencies] @@ -693,62 +586,32 @@ urllib3 = ">=1.21.1,<3" socks = ["PySocks (>=1.5.6,!=1.5.7)"] use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"] -[[package]] -name = "rsa" -version = "4.9" -description = "Pure-Python RSA implementation" -optional = false -python-versions = ">=3.6,<4" -files = [ - {file = "rsa-4.9-py3-none-any.whl", hash = "sha256:90260d9058e514786967344d0ef75fa8727eed8a7d2e43ce9f4bcf1b536174f7"}, - {file = "rsa-4.9.tar.gz", hash = "sha256:e38464a49c6c85d7f1351b0126661487a7e0a14a50f1675ec50eb34d4f20ef21"}, -] - -[package.dependencies] -pyasn1 = ">=0.1.3" - [[package]] name = "ruff" -version = "0.3.4" +version = "0.3.7" description = "An extremely fast Python linter and code formatter, written in Rust." optional = false python-versions = ">=3.7" files = [ - {file = "ruff-0.3.4-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:60c870a7d46efcbc8385d27ec07fe534ac32f3b251e4fc44b3cbfd9e09609ef4"}, - {file = "ruff-0.3.4-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:6fc14fa742e1d8f24910e1fff0bd5e26d395b0e0e04cc1b15c7c5e5fe5b4af91"}, - {file = "ruff-0.3.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d3ee7880f653cc03749a3bfea720cf2a192e4f884925b0cf7eecce82f0ce5854"}, - {file = "ruff-0.3.4-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:cf133dd744f2470b347f602452a88e70dadfbe0fcfb5fd46e093d55da65f82f7"}, - {file = "ruff-0.3.4-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3f3860057590e810c7ffea75669bdc6927bfd91e29b4baa9258fd48b540a4365"}, - {file = "ruff-0.3.4-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:986f2377f7cf12efac1f515fc1a5b753c000ed1e0a6de96747cdf2da20a1b369"}, - {file = "ruff-0.3.4-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c4fd98e85869603e65f554fdc5cddf0712e352fe6e61d29d5a6fe087ec82b76c"}, - {file = "ruff-0.3.4-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:64abeed785dad51801b423fa51840b1764b35d6c461ea8caef9cf9e5e5ab34d9"}, - {file = "ruff-0.3.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:df52972138318bc7546d92348a1ee58449bc3f9eaf0db278906eb511889c4b50"}, - {file = "ruff-0.3.4-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:98e98300056445ba2cc27d0b325fd044dc17fcc38e4e4d2c7711585bd0a958ed"}, - {file = "ruff-0.3.4-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:519cf6a0ebed244dce1dc8aecd3dc99add7a2ee15bb68cf19588bb5bf58e0488"}, - {file = "ruff-0.3.4-py3-none-musllinux_1_2_i686.whl", hash = "sha256:bb0acfb921030d00070539c038cd24bb1df73a2981e9f55942514af8b17be94e"}, - {file = "ruff-0.3.4-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:cf187a7e7098233d0d0c71175375c5162f880126c4c716fa28a8ac418dcf3378"}, - {file = "ruff-0.3.4-py3-none-win32.whl", hash = "sha256:af27ac187c0a331e8ef91d84bf1c3c6a5dea97e912a7560ac0cef25c526a4102"}, - {file = "ruff-0.3.4-py3-none-win_amd64.whl", hash = "sha256:de0d5069b165e5a32b3c6ffbb81c350b1e3d3483347196ffdf86dc0ef9e37dd6"}, - {file = "ruff-0.3.4-py3-none-win_arm64.whl", hash = "sha256:6810563cc08ad0096b57c717bd78aeac888a1bfd38654d9113cb3dc4d3f74232"}, - {file = "ruff-0.3.4.tar.gz", hash = "sha256:f0f4484c6541a99862b693e13a151435a279b271cff20e37101116a21e2a1ad1"}, -] - -[[package]] -name = "setuptools" -version = "69.2.0" -description = "Easily download, build, install, upgrade, and uninstall Python packages" -optional = false -python-versions = ">=3.8" -files = [ - {file = "setuptools-69.2.0-py3-none-any.whl", hash = "sha256:c21c49fb1042386df081cb5d86759792ab89efca84cf114889191cd09aacc80c"}, - {file = "setuptools-69.2.0.tar.gz", hash = "sha256:0ff4183f8f42cd8fa3acea16c45205521a4ef28f73c6391d8a25e92893134f2e"}, + {file = "ruff-0.3.7-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:0e8377cccb2f07abd25e84fc5b2cbe48eeb0fea9f1719cad7caedb061d70e5ce"}, + {file = "ruff-0.3.7-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:15a4d1cc1e64e556fa0d67bfd388fed416b7f3b26d5d1c3e7d192c897e39ba4b"}, + {file = "ruff-0.3.7-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d28bdf3d7dc71dd46929fafeec98ba89b7c3550c3f0978e36389b5631b793663"}, + {file = "ruff-0.3.7-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:379b67d4f49774ba679593b232dcd90d9e10f04d96e3c8ce4a28037ae473f7bb"}, + {file = "ruff-0.3.7-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c060aea8ad5ef21cdfbbe05475ab5104ce7827b639a78dd55383a6e9895b7c51"}, + {file = "ruff-0.3.7-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:ebf8f615dde968272d70502c083ebf963b6781aacd3079081e03b32adfe4d58a"}, + {file = "ruff-0.3.7-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d48098bd8f5c38897b03604f5428901b65e3c97d40b3952e38637b5404b739a2"}, + {file = "ruff-0.3.7-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:da8a4fda219bf9024692b1bc68c9cff4b80507879ada8769dc7e985755d662ea"}, + {file = "ruff-0.3.7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c44e0149f1d8b48c4d5c33d88c677a4aa22fd09b1683d6a7ff55b816b5d074f"}, + {file = "ruff-0.3.7-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:3050ec0af72b709a62ecc2aca941b9cd479a7bf2b36cc4562f0033d688e44fa1"}, + {file = "ruff-0.3.7-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:a29cc38e4c1ab00da18a3f6777f8b50099d73326981bb7d182e54a9a21bb4ff7"}, + {file = "ruff-0.3.7-py3-none-musllinux_1_2_i686.whl", hash = "sha256:5b15cc59c19edca917f51b1956637db47e200b0fc5e6e1878233d3a938384b0b"}, + {file = "ruff-0.3.7-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:e491045781b1e38b72c91247cf4634f040f8d0cb3e6d3d64d38dcf43616650b4"}, + {file = "ruff-0.3.7-py3-none-win32.whl", hash = "sha256:bc931de87593d64fad3a22e201e55ad76271f1d5bfc44e1a1887edd0903c7d9f"}, + {file = "ruff-0.3.7-py3-none-win_amd64.whl", hash = "sha256:5ef0e501e1e39f35e03c2acb1d1238c595b8bb36cf7a170e7c1df1b73da00e74"}, + {file = "ruff-0.3.7-py3-none-win_arm64.whl", hash = "sha256:789e144f6dc7019d1f92a812891c645274ed08af6037d11fc65fcbc183b7d59f"}, + {file = "ruff-0.3.7.tar.gz", hash = "sha256:d5c1aebee5162c2226784800ae031f660c350e7a3402c4d1f8ea4e97e232e3ba"}, ] -[package.extras] -docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "rst.linker (>=1.9)", "sphinx (<7.2.5)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (>=1,<2)", "sphinx-reredirects", "sphinxcontrib-towncrier"] -testing = ["build[virtualenv]", "filelock (>=3.4.0)", "importlib-metadata", "ini2toml[lite] (>=0.9)", "jaraco.develop (>=7.21)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "mypy (==1.9)", "packaging (>=23.2)", "pip (>=19.1)", "pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-home (>=0.5)", "pytest-mypy (>=0.9.1)", "pytest-perf", "pytest-ruff (>=0.2.1)", "pytest-timeout", "pytest-xdist (>=3)", "tomli", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"] -testing-integration = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "packaging (>=23.2)", "pytest", "pytest-enabler", "pytest-xdist", "tomli", "virtualenv (>=13.0.0)", "wheel"] - [[package]] name = "six" version = "1.16.0" @@ -772,52 +635,53 @@ files = [ ] [[package]] -name = "typing-extensions" -version = "4.8.0" -description = "Backported and Experimental Type Hints for Python 3.8+" +name = "types-protobuf" +version = "5.27.0.20240907" +description = "Typing stubs for protobuf" optional = false python-versions = ">=3.8" files = [ - {file = "typing_extensions-4.8.0-py3-none-any.whl", hash = "sha256:8f92fc8806f9a6b641eaa5318da32b44d401efaac0f6678c9bc448ba3605faa0"}, - {file = "typing_extensions-4.8.0.tar.gz", hash = "sha256:df8e4339e9cb77357558cbdbceca33c303714cf861d1eef15e1070055ae8b7ef"}, + {file = "types-protobuf-5.27.0.20240907.tar.gz", hash = "sha256:bb6f90f66b18d4d1c75667b6586334b0573a6fcee5eb0142a7348a765a7cbadc"}, + {file = "types_protobuf-5.27.0.20240907-py3-none-any.whl", hash = "sha256:5443270534cc8072909ef7ad9e1421ccff924ca658749a6396c0c43d64c32676"}, ] [[package]] -name = "uritemplate" -version = "4.1.1" -description = "Implementation of RFC 6570 URI Templates" +name = "typing-extensions" +version = "4.12.2" +description = "Backported and Experimental Type Hints for Python 3.8+" optional = false -python-versions = ">=3.6" +python-versions = ">=3.8" files = [ - {file = "uritemplate-4.1.1-py2.py3-none-any.whl", hash = "sha256:830c08b8d99bdd312ea4ead05994a38e8936266f84b9a7878232db50b044e02e"}, - {file = "uritemplate-4.1.1.tar.gz", hash = "sha256:4346edfc5c3b79f694bccd6d6099a322bbeb628dbf2cd86eea55a456ce5124f0"}, + {file = "typing_extensions-4.12.2-py3-none-any.whl", hash = "sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d"}, + {file = "typing_extensions-4.12.2.tar.gz", hash = "sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8"}, ] [[package]] name = "urllib3" -version = "2.1.0" +version = "2.2.3" description = "HTTP library with thread-safe connection pooling, file post, and more." optional = false python-versions = ">=3.8" files = [ - {file = "urllib3-2.1.0-py3-none-any.whl", hash = "sha256:55901e917a5896a349ff771be919f8bd99aff50b79fe58fec595eb37bbc56bb3"}, - {file = "urllib3-2.1.0.tar.gz", hash = "sha256:df7aa8afb0148fa78488e7899b2c59b5f4ffcfa82e6c54ccb9dd37c1d7b52d54"}, + {file = "urllib3-2.2.3-py3-none-any.whl", hash = "sha256:ca899ca043dcb1bafa3e262d73aa25c465bfb49e0bd9dd5d59f1d0acba2f8fac"}, + {file = "urllib3-2.2.3.tar.gz", hash = "sha256:e7d814a81dad81e6caf2ec9fdedb284ecc9c73076b62654547cc64ccdcae26e9"}, ] [package.extras] brotli = ["brotli (>=1.0.9)", "brotlicffi (>=0.8.0)"] +h2 = ["h2 (>=4,<5)"] socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"] zstd = ["zstandard (>=0.18.0)"] [[package]] name = "virtualenv" -version = "20.25.1" +version = "20.26.4" description = "Virtual Python Environment builder" optional = false python-versions = ">=3.7" files = [ - {file = "virtualenv-20.25.1-py3-none-any.whl", hash = "sha256:961c026ac520bac5f69acb8ea063e8a4f071bcc9457b9c1f28f6b085c511583a"}, - {file = "virtualenv-20.25.1.tar.gz", hash = "sha256:e08e13ecdca7a0bd53798f356d5831434afa5b07b93f0abdf0797b7a06ffe197"}, + {file = "virtualenv-20.26.4-py3-none-any.whl", hash = "sha256:48f2695d9809277003f30776d155615ffc11328e6a0a8c1f0ec80188d7874a55"}, + {file = "virtualenv-20.26.4.tar.gz", hash = "sha256:c17f4e0f3e6036e9f26700446f85c76ab11df65ff6d8a9cbfad9f71aabfcf23c"}, ] [package.dependencies] @@ -826,10 +690,10 @@ filelock = ">=3.12.2,<4" platformdirs = ">=3.9.1,<5" [package.extras] -docs = ["furo (>=2023.7.26)", "proselint (>=0.13)", "sphinx (>=7.1.2)", "sphinx-argparse (>=0.4)", "sphinxcontrib-towncrier (>=0.2.1a0)", "towncrier (>=23.6)"] +docs = ["furo (>=2023.7.26)", "proselint (>=0.13)", "sphinx (>=7.1.2,!=7.3)", "sphinx-argparse (>=0.4)", "sphinxcontrib-towncrier (>=0.2.1a0)", "towncrier (>=23.6)"] test = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "coverage-enable-subprocess (>=1)", "flaky (>=3.7)", "packaging (>=23.1)", "pytest (>=7.4)", "pytest-env (>=0.8.2)", "pytest-freezer (>=0.4.8)", "pytest-mock (>=3.11.1)", "pytest-randomly (>=3.12)", "pytest-timeout (>=2.1)", "setuptools (>=68)", "time-machine (>=2.10)"] [metadata] lock-version = "2.0" python-versions = ">=3.8.0,<4.0" -content-hash = "effc19c5f9e8bacfb325e9a0886c6bcf1f4dfc0c0eb52abf96bc71ea53971f1c" +content-hash = "48a436f93fdd889c544355efe8de47b6d9bdffd38e9f91dc72dfebb706a8bca6" diff --git a/pyproject.toml b/pyproject.toml index edbdc26..c0dcaca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,17 +10,24 @@ packages = [{include = "alignai"}] [tool.poetry.dependencies] python = ">=3.8.0,<4.0" requests = "^2.31.0" -protobuf = "^4.24.2" -google-api-python-client = "^2.98.0" +protobuf = "^5.28.1" pendulum = "^2.1.2" -packaging = "^23.2" +googleapis-googleapis-protocolbuffers-python = "^28.1.0.1.20240827201746+e7f8d366f526" +googleapis-googleapis-protocolbuffers-pyi = "^28.1.0.1.20240827201746+e7f8d366f526" [tool.poetry.group.dev.dependencies] -ruff = "^0.3.4" -black = "^24.3.0" -mypy = "^1.9.0" +ruff = "^0.3.7" +black = "^24.8.0" +mypy = "^1.11.2" isort = "^5.13.2" pre-commit = "^3.5.0" +packaging = "^23.2" + + +[[tool.poetry.source]] +name = "buf" +url = "https://buf.build/gen/python" +priority = "supplemental" [build-system] requires = ["poetry-core"] @@ -28,13 +35,12 @@ build-backend = "poetry.core.masonry.api" [tool.ruff] line-length = 120 -select = [ +lint.select = [ "E", # pycodestyle "F", # pyflakes "UP", # pyupgrade ] exclude = ["alignai/ingestion"] - target-version = "py38" [tool.black]