divi 0.0.1.dev11__py3-none-macosx_11_0_arm64.whl → 0.0.1.dev12__py3-none-macosx_11_0_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
divi/__init__.py CHANGED
@@ -1,15 +1,16 @@
1
1
  from typing import Optional
2
2
 
3
3
  from . import proto
4
+ from .decorators import obs_openai, observable
5
+ from .run import Run
4
6
  from .services import Auth, Core, DataPark
5
7
 
6
8
  name: str = "divi"
7
9
 
8
-
9
- name: str = "divi"
10
+ _run: Optional[Run] = None
10
11
  _core: Optional[Core] = None
11
12
  _auth: Optional[Auth] = None
12
13
  _datapark: Optional[DataPark] = None
13
14
 
14
- __version__ = "0.0.1.dev11"
15
- __all__ = ["proto"]
15
+ __version__ = "0.0.1.dev12"
16
+ __all__ = ["proto", "obs_openai", "observable"]
@@ -0,0 +1,4 @@
1
+ from .obs_openai import obs_openai
2
+ from .observable import observable
3
+
4
+ __all__ = ["observable", "obs_openai"]
@@ -0,0 +1,33 @@
1
+ import functools
2
+ from collections.abc import Callable
3
+ from typing import TYPE_CHECKING, TypeVar, Union
4
+
5
+ from divi.decorators.observable import observable
6
+ from divi.utils import is_async
7
+
8
+ if TYPE_CHECKING:
9
+ from openai import AsyncOpenAI, OpenAI
10
+
11
+ C = TypeVar("C", bound=Union["OpenAI", "AsyncOpenAI"])
12
+
13
+
14
+ def _get_observable_create(create: Callable) -> Callable:
15
+ @functools.wraps(create)
16
+ def observable_create(*args, stream: bool = False, **kwargs):
17
+ decorator = observable()
18
+ return decorator(create)(*args, stream=stream, **kwargs)
19
+
20
+ # TODO Async Observable Create
21
+ print("Is async", is_async(create))
22
+ return observable_create if not is_async(create) else create
23
+
24
+
25
+ def obs_openai(client: C) -> C:
26
+ """Make OpenAI client observable."""
27
+ client.chat.completions.create = _get_observable_create(
28
+ client.chat.completions.create
29
+ )
30
+ client.completions.create = _get_observable_create(
31
+ client.completions.create
32
+ )
33
+ return client
@@ -0,0 +1,40 @@
1
+ import functools
2
+ import inspect
3
+ from typing import Any, Callable, List, overload
4
+
5
+
6
+ @overload
7
+ def observable(func: Callable) -> Callable: ...
8
+
9
+
10
+ @overload
11
+ def observable() -> Callable: ...
12
+
13
+
14
+ def observable(*args, **kwargs) -> Callable:
15
+ """Observable decorator factory."""
16
+
17
+ def decorator(func: Callable):
18
+ @functools.wraps(func)
19
+ def wrapper(*args, **kwargs):
20
+ result = func(*args, **kwargs)
21
+ # TODO: collect result
22
+ return result
23
+
24
+ @functools.wraps(func)
25
+ def generator_wrapper(*args, **kwargs):
26
+ results: List[Any] = []
27
+ for item in func(*args, **kwargs):
28
+ results.append(item)
29
+ yield item
30
+ # TODO: collect results
31
+
32
+ if inspect.isgeneratorfunction(func):
33
+ return generator_wrapper
34
+ return wrapper
35
+
36
+ # Function Decorator
37
+ if len(args) == 1 and callable(args[0]) and not kwargs:
38
+ return decorator(args[0])
39
+ # Factory Decorator
40
+ return decorator
@@ -0,0 +1,63 @@
1
+ syntax = "proto3";
2
+
3
+ package divi.proto.common.v1;
4
+
5
+ option go_package = "services/proto";
6
+
7
+ // AnyValue is used to represent any type of attribute value. AnyValue may contain a
8
+ // primitive value such as a string or integer or it may contain an arbitrary nested
9
+ // object containing arrays, key-value lists and primitives.
10
+ message AnyValue {
11
+ // The value is one of the listed fields. It is valid for all values to be unspecified
12
+ // in which case this AnyValue is considered to be "empty".
13
+ oneof value {
14
+ string string_value = 1;
15
+ bool bool_value = 2;
16
+ int64 int_value = 3;
17
+ double double_value = 4;
18
+ ArrayValue array_value = 5;
19
+ KeyValueList kvlist_value = 6;
20
+ bytes bytes_value = 7;
21
+ }
22
+ }
23
+
24
+ // ArrayValue is a list of AnyValue messages. We need ArrayValue as a message
25
+ // since oneof in AnyValue does not allow repeated fields.
26
+ message ArrayValue {
27
+ // Array of values. The array may be empty (contain 0 elements).
28
+ repeated AnyValue values = 1;
29
+ }
30
+
31
+ // KeyValueList is a list of KeyValue messages. We need KeyValueList as a message
32
+ // since `oneof` in AnyValue does not allow repeated fields. Everywhere else where we need
33
+ // a list of KeyValue messages (e.g. in Span) we use `repeated KeyValue` directly to
34
+ // avoid unnecessary extra wrapping (which slows down the protocol). The 2 approaches
35
+ // are semantically equivalent.
36
+ message KeyValueList {
37
+ // A collection of key/value pairs of key-value pairs. The list may be empty (may
38
+ // contain 0 elements).
39
+ // The keys MUST be unique (it is not allowed to have more than one
40
+ // value with the same key).
41
+ repeated KeyValue values = 1;
42
+ }
43
+
44
+ // KeyValue is a key-value pair that is used to store Span attributes, Link
45
+ // attributes, etc.
46
+ message KeyValue {
47
+ string key = 1;
48
+ AnyValue value = 2;
49
+ }
50
+
51
+ // InstrumentationScope is a message representing the instrumentation scope information
52
+ // such as the fully qualified name and version.
53
+ message InstrumentationScope {
54
+ // An empty instrumentation scope name means the name is unknown.
55
+ string name = 1;
56
+ string version = 2;
57
+
58
+ // Additional attributes that describe the scope. [Optional].
59
+ // Attribute keys MUST be unique (it is not allowed to have more than one
60
+ // attribute with the same key).
61
+ repeated KeyValue attributes = 3;
62
+ uint32 dropped_attributes_count = 4;
63
+ }
@@ -0,0 +1,17 @@
1
+ syntax = "proto3";
2
+
3
+ package divi.proto.core.health.v1;
4
+
5
+ option go_package = "services/proto";
6
+
7
+ // HealthService is a service that implements health check.
8
+ service HealthService {
9
+ rpc Check(HealthCheckRequest) returns (HealthCheckResponse) {}
10
+ }
11
+
12
+ message HealthCheckRequest { string version = 1; }
13
+
14
+ message HealthCheckResponse {
15
+ bool status = 1;
16
+ string message = 2;
17
+ }
@@ -0,0 +1,19 @@
1
+ syntax = "proto3";
2
+
3
+ package divi.proto.resource.v1;
4
+
5
+ import "divi/proto/common/v1/common.proto";
6
+
7
+ option go_package = "services/proto";
8
+
9
+ // Resource information.
10
+ message Resource {
11
+ // Set of attributes that describe the resource.
12
+ // Attribute keys MUST be unique (it is not allowed to have more than one
13
+ // attribute with the same key).
14
+ repeated divi.proto.common.v1.KeyValue attributes = 1;
15
+
16
+ // dropped_attributes_count is the number of dropped attributes. If the value is 0, then
17
+ // no attributes were dropped.
18
+ uint32 dropped_attributes_count = 2;
19
+ }
@@ -0,0 +1,18 @@
1
+ syntax = "proto3";
2
+
3
+ package divi.proto.trace.v1;
4
+
5
+ import "divi/proto/resource/v1/resource.proto";
6
+
7
+ option go_package = "services/proto";
8
+
9
+ message TracesData {
10
+ // An array of ResourceSpans.
11
+ // For data coming from a single resource this array will typically contain one element.
12
+ repeated ResourceSpans resource_spans = 1;
13
+ }
14
+
15
+ message ResourceSpans {
16
+ // The resource for which the spans are reported.
17
+ divi.proto.resource.v1.Resource resource = 1;
18
+ }
divi/run/__init__.py ADDED
@@ -0,0 +1,3 @@
1
+ from .run import Run
2
+
3
+ __all__ = ["Run"]
divi/run/run.py ADDED
@@ -0,0 +1,2 @@
1
+ class Run:
2
+ pass
@@ -0,0 +1,4 @@
1
+ from .metric import Metric
2
+ from .trace import Trace
3
+
4
+ __all__ = ["Metric", "Trace"]
@@ -0,0 +1,3 @@
1
+ from .metric import Metric
2
+
3
+ __all__ = ["Metric"]
@@ -0,0 +1,2 @@
1
+ class Metric:
2
+ pass
@@ -0,0 +1,3 @@
1
+ from .trace import Trace
2
+
3
+ __all__ = ["Trace"]
@@ -0,0 +1,2 @@
1
+ class Trace:
2
+ pass
divi/utils.py CHANGED
@@ -1,4 +1,6 @@
1
+ import inspect
1
2
  import pathlib
3
+ from typing import Callable
2
4
 
3
5
 
4
6
  def get_server_path() -> str:
@@ -10,5 +12,11 @@ def get_server_path() -> str:
10
12
  return str(path)
11
13
 
12
14
 
15
+ def is_async(func: Callable) -> bool:
16
+ """Inspect function or wrapped function to see if it is async."""
17
+ unwrapped_func = inspect.unwrap(func)
18
+ return inspect.iscoroutinefunction(unwrapped_func)
19
+
20
+
13
21
  if __name__ == "__main__":
14
22
  print(get_server_path())
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: divi
3
- Version: 0.0.1.dev11
3
+ Version: 0.0.1.dev12
4
4
  Summary: The Agent Platform for Observability & Evaluation
5
5
  License-File: LICENSE
6
6
  Requires-Python: >=3.11
@@ -0,0 +1,37 @@
1
+ divi/__init__.py,sha256=iYB7lJdbqdP1b1Qi_dDljwannxsfxeutg6QxEsi9lIk,380
2
+ divi/utils.py,sha256=3iVDogCjqQg0jEjhUKEuQ6vHPFp9w7kXNjSVwXt8KmI,574
3
+ divi/bin/core,sha256=GMj7vkrAhOajWhtUyHV41AV40kh01L6MhJdbmQrYU2E,14543426
4
+ divi/config/config.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ divi/decorators/__init__.py,sha256=HkyWdC1ctTsVFucCWCkj57JB4NmwONus1d2S2dUbvs4,110
6
+ divi/decorators/obs_openai.py,sha256=2KVF2U0Z1-hcVxwryE5rvDr7LTADqbNaQYrWfswStUs,993
7
+ divi/decorators/observable.py,sha256=d0gqIqPvU7nhO2GtdgLfGkcoZsZ9i0U1PKmd7QS-O_E,1018
8
+ divi/proto/common/v1/common.proto,sha256=gkVT3Ac7oMg-JjUhHiT4JGq7RyjPmvpId9TZpfvmpoM,2309
9
+ divi/proto/core/health/v1/health_service.proto,sha256=kUkCFAA1cJyQCN_jvdoUJli0pjHSgFKGysqLMs88Dyc,372
10
+ divi/proto/resource/v1/resource.proto,sha256=gpB3Vj3BHNAhbN6Yk_oHWwbh16L8VBXpRl2-TKn6R3g,566
11
+ divi/proto/trace/v1/trace.proto,sha256=ZCPEW1haW-fwXbgMpw9HfORLoNeWrrqauT3CL0OTP-I,466
12
+ divi/run/__init__.py,sha256=0DQw0lBBiXRyW74PZkDCQVj4ZmX8lQrHo8_ZixdHNrI,40
13
+ divi/run/run.py,sha256=UOxW0gy9nEu8snjyc5O3Pw5o69ary-b-QpqFqTXybNE,20
14
+ divi/services/__init__.py,sha256=TcVJ_gKxyPIcwhT9GgttqHeyk0icW44uE285KmUiyh4,185
15
+ divi/services/finish.py,sha256=epgUNYdsGSC8j8uj_fhs7P0-Atem_hTlzyPPvbsWEPQ,91
16
+ divi/services/init.py,sha256=JlsKHK-IEQ2xh76gNBqF_eqIFNBqoTnwiDeMXSJg4wQ,144
17
+ divi/services/service.py,sha256=1c7JQ49BSdBipGLfVIxTHaNxTuyvVAgrvxV7lyYv_68,285
18
+ divi/services/auth/__init__.py,sha256=PIQ9rQ0jcRqcy03a3BOY7wbzwluIRG_4kI_H4J4mRFk,74
19
+ divi/services/auth/auth.py,sha256=dTpFnNhxbEjzOkBLPQvRblFSO5tedJsdObWTXt84MaE,631
20
+ divi/services/auth/init.py,sha256=bScuij1a97sDPRZyrzIkrwX3X25LLY7NG6zZI92C7Xs,554
21
+ divi/services/auth/tokman.py,sha256=V03wcV6TEy1k9o55teDVB9JZ3Ve2cJdwzWstQhWx4BQ,1070
22
+ divi/services/core/__init__.py,sha256=FWl4ShX0AEnOyL24NEc9mNIVoQOeYO4q0qYX27L_Yyw,111
23
+ divi/services/core/core.py,sha256=kwqW1DSkLcOjVVWA5y8cdYo35rJ9nNffs_aVC1894Dk,1198
24
+ divi/services/core/finish.py,sha256=dIGQpVXcJY4-tKe7A1_VV3yoSHNCDPfOlUltvzvk6VI,231
25
+ divi/services/core/init.py,sha256=TiY9Z6Vl93ZMAE07kuw6H2uHdk3jUtzGCV_I1cIdaLI,2073
26
+ divi/services/datapark/__init__.py,sha256=ftKZC1QGegK7SFslC6jrbRD-S4WLXwBpucA4oiMj5so,55
27
+ divi/services/datapark/datapark.py,sha256=a7db-SQPqiae1Yxs78h7omQq7sItX5UClfniwxN-CUc,159
28
+ divi/services/datapark/init.py,sha256=K0GxbZW0qeimpEoKZeDJo-NIbffX7Hy7GlncOqTOj7U,179
29
+ divi/signals/__init__.py,sha256=bN3jKJkY9vlpCjEK5llQddgloQ1KXg1z5xjYWY1JF-c,83
30
+ divi/signals/metric/__init__.py,sha256=Enn1iNvJUxBSIuKEJM2DbBWET719oSFgpbhhLUMc0GE,49
31
+ divi/signals/metric/metric.py,sha256=gFy-iKvFLKUe5Me9jPR_vZX_kIqa0FrgBMI7x9jaFMI,23
32
+ divi/signals/trace/__init__.py,sha256=hE2j94DHT2a-8gUtcuWiFxrhq1sWcqnSjhSZ41q6nBQ,46
33
+ divi/signals/trace/trace.py,sha256=vGdcQ0WzLjmIOH0rtyQFkes30XhD4W2lG6uEP5oznEM,22
34
+ divi-0.0.1.dev12.dist-info/METADATA,sha256=WpXFxou0VM2Rdfw84Ue64EV85GtAEOlZcGEhrEMsQW4,457
35
+ divi-0.0.1.dev12.dist-info/WHEEL,sha256=G84COq2WqV__z0k5yV28XkqceijvjyhYltl4MnmpO9g,102
36
+ divi-0.0.1.dev12.dist-info/licenses/LICENSE,sha256=5OJuZ4wMMEV0DgF0tofhAlS_KLkaUsZwwwDS2U_GwQ0,1063
37
+ divi-0.0.1.dev12.dist-info/RECORD,,
divi/proto/core.proto DELETED
@@ -1,12 +0,0 @@
1
- syntax = "proto3";
2
-
3
- package core;
4
-
5
- import "divi/proto/health.proto";
6
-
7
- option go_package = "services/proto";
8
-
9
- // Health is a service that implements health check.
10
- service Core {
11
- rpc Check(HealthCheckRequest) returns (HealthCheckResponse) {}
12
- }
divi/proto/core_pb2.py DELETED
@@ -1,38 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # NO CHECKED-IN PROTOBUF GENCODE
4
- # source: divi/proto/core.proto
5
- # Protobuf Python Version: 5.29.0
6
- """Generated protocol buffer code."""
7
- from google.protobuf import descriptor as _descriptor
8
- from google.protobuf import descriptor_pool as _descriptor_pool
9
- from google.protobuf import runtime_version as _runtime_version
10
- from google.protobuf import symbol_database as _symbol_database
11
- from google.protobuf.internal import builder as _builder
12
- _runtime_version.ValidateProtobufRuntimeVersion(
13
- _runtime_version.Domain.PUBLIC,
14
- 5,
15
- 29,
16
- 0,
17
- '',
18
- 'divi/proto/core.proto'
19
- )
20
- # @@protoc_insertion_point(imports)
21
-
22
- _sym_db = _symbol_database.Default()
23
-
24
-
25
- from divi.proto import health_pb2 as divi_dot_proto_dot_health__pb2
26
-
27
-
28
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15\x64ivi/proto/core.proto\x12\x04\x63ore\x1a\x17\x64ivi/proto/health.proto2F\n\x04\x43ore\x12>\n\x05\x43heck\x12\x18.core.HealthCheckRequest\x1a\x19.core.HealthCheckResponse\"\x00\x42\x10Z\x0eservices/protob\x06proto3')
29
-
30
- _globals = globals()
31
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'divi.proto.core_pb2', _globals)
33
- if not _descriptor._USE_C_DESCRIPTORS:
34
- _globals['DESCRIPTOR']._loaded_options = None
35
- _globals['DESCRIPTOR']._serialized_options = b'Z\016services/proto'
36
- _globals['_CORE']._serialized_start=56
37
- _globals['_CORE']._serialized_end=126
38
- # @@protoc_insertion_point(module_scope)
divi/proto/core_pb2.pyi DELETED
@@ -1,5 +0,0 @@
1
- from divi.proto import health_pb2 as _health_pb2
2
- from google.protobuf import descriptor as _descriptor
3
- from typing import ClassVar as _ClassVar
4
-
5
- DESCRIPTOR: _descriptor.FileDescriptor
@@ -1,100 +0,0 @@
1
- # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
- """Client and server classes corresponding to protobuf-defined services."""
3
- import grpc
4
- import warnings
5
-
6
- from divi.proto import health_pb2 as divi_dot_proto_dot_health__pb2
7
-
8
- GRPC_GENERATED_VERSION = '1.69.0'
9
- GRPC_VERSION = grpc.__version__
10
- _version_not_supported = False
11
-
12
- try:
13
- from grpc._utilities import first_version_is_lower
14
- _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
15
- except ImportError:
16
- _version_not_supported = True
17
-
18
- if _version_not_supported:
19
- raise RuntimeError(
20
- f'The grpc package installed is at version {GRPC_VERSION},'
21
- + f' but the generated code in divi/proto/core_pb2_grpc.py depends on'
22
- + f' grpcio>={GRPC_GENERATED_VERSION}.'
23
- + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
24
- + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
25
- )
26
-
27
-
28
- class CoreStub(object):
29
- """Health is a service that implements health check.
30
- """
31
-
32
- def __init__(self, channel):
33
- """Constructor.
34
-
35
- Args:
36
- channel: A grpc.Channel.
37
- """
38
- self.Check = channel.unary_unary(
39
- '/core.Core/Check',
40
- request_serializer=divi_dot_proto_dot_health__pb2.HealthCheckRequest.SerializeToString,
41
- response_deserializer=divi_dot_proto_dot_health__pb2.HealthCheckResponse.FromString,
42
- _registered_method=True)
43
-
44
-
45
- class CoreServicer(object):
46
- """Health is a service that implements health check.
47
- """
48
-
49
- def Check(self, request, context):
50
- """Missing associated documentation comment in .proto file."""
51
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
52
- context.set_details('Method not implemented!')
53
- raise NotImplementedError('Method not implemented!')
54
-
55
-
56
- def add_CoreServicer_to_server(servicer, server):
57
- rpc_method_handlers = {
58
- 'Check': grpc.unary_unary_rpc_method_handler(
59
- servicer.Check,
60
- request_deserializer=divi_dot_proto_dot_health__pb2.HealthCheckRequest.FromString,
61
- response_serializer=divi_dot_proto_dot_health__pb2.HealthCheckResponse.SerializeToString,
62
- ),
63
- }
64
- generic_handler = grpc.method_handlers_generic_handler(
65
- 'core.Core', rpc_method_handlers)
66
- server.add_generic_rpc_handlers((generic_handler,))
67
- server.add_registered_method_handlers('core.Core', rpc_method_handlers)
68
-
69
-
70
- # This class is part of an EXPERIMENTAL API.
71
- class Core(object):
72
- """Health is a service that implements health check.
73
- """
74
-
75
- @staticmethod
76
- def Check(request,
77
- target,
78
- options=(),
79
- channel_credentials=None,
80
- call_credentials=None,
81
- insecure=False,
82
- compression=None,
83
- wait_for_ready=None,
84
- timeout=None,
85
- metadata=None):
86
- return grpc.experimental.unary_unary(
87
- request,
88
- target,
89
- '/core.Core/Check',
90
- divi_dot_proto_dot_health__pb2.HealthCheckRequest.SerializeToString,
91
- divi_dot_proto_dot_health__pb2.HealthCheckResponse.FromString,
92
- options,
93
- channel_credentials,
94
- insecure,
95
- call_credentials,
96
- compression,
97
- wait_for_ready,
98
- timeout,
99
- metadata,
100
- _registered_method=True)
divi/proto/health.proto DELETED
@@ -1,12 +0,0 @@
1
- syntax = "proto3";
2
-
3
- package core;
4
-
5
- option go_package = "services/proto";
6
-
7
- message HealthCheckRequest { string version = 1; }
8
-
9
- message HealthCheckResponse {
10
- bool status = 1;
11
- string message = 2;
12
- }
divi/proto/health_pb2.py DELETED
@@ -1,39 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # NO CHECKED-IN PROTOBUF GENCODE
4
- # source: divi/proto/health.proto
5
- # Protobuf Python Version: 5.29.0
6
- """Generated protocol buffer code."""
7
- from google.protobuf import descriptor as _descriptor
8
- from google.protobuf import descriptor_pool as _descriptor_pool
9
- from google.protobuf import runtime_version as _runtime_version
10
- from google.protobuf import symbol_database as _symbol_database
11
- from google.protobuf.internal import builder as _builder
12
- _runtime_version.ValidateProtobufRuntimeVersion(
13
- _runtime_version.Domain.PUBLIC,
14
- 5,
15
- 29,
16
- 0,
17
- '',
18
- 'divi/proto/health.proto'
19
- )
20
- # @@protoc_insertion_point(imports)
21
-
22
- _sym_db = _symbol_database.Default()
23
-
24
-
25
-
26
-
27
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17\x64ivi/proto/health.proto\x12\x04\x63ore\"%\n\x12HealthCheckRequest\x12\x0f\n\x07version\x18\x01 \x01(\t\"6\n\x13HealthCheckResponse\x12\x0e\n\x06status\x18\x01 \x01(\x08\x12\x0f\n\x07message\x18\x02 \x01(\tB\x10Z\x0eservices/protob\x06proto3')
28
-
29
- _globals = globals()
30
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'divi.proto.health_pb2', _globals)
32
- if not _descriptor._USE_C_DESCRIPTORS:
33
- _globals['DESCRIPTOR']._loaded_options = None
34
- _globals['DESCRIPTOR']._serialized_options = b'Z\016services/proto'
35
- _globals['_HEALTHCHECKREQUEST']._serialized_start=33
36
- _globals['_HEALTHCHECKREQUEST']._serialized_end=70
37
- _globals['_HEALTHCHECKRESPONSE']._serialized_start=72
38
- _globals['_HEALTHCHECKRESPONSE']._serialized_end=126
39
- # @@protoc_insertion_point(module_scope)
divi/proto/health_pb2.pyi DELETED
@@ -1,19 +0,0 @@
1
- from google.protobuf import descriptor as _descriptor
2
- from google.protobuf import message as _message
3
- from typing import ClassVar as _ClassVar, Optional as _Optional
4
-
5
- DESCRIPTOR: _descriptor.FileDescriptor
6
-
7
- class HealthCheckRequest(_message.Message):
8
- __slots__ = ("version",)
9
- VERSION_FIELD_NUMBER: _ClassVar[int]
10
- version: str
11
- def __init__(self, version: _Optional[str] = ...) -> None: ...
12
-
13
- class HealthCheckResponse(_message.Message):
14
- __slots__ = ("status", "message")
15
- STATUS_FIELD_NUMBER: _ClassVar[int]
16
- MESSAGE_FIELD_NUMBER: _ClassVar[int]
17
- status: bool
18
- message: str
19
- def __init__(self, status: bool = ..., message: _Optional[str] = ...) -> None: ...
@@ -1,30 +0,0 @@
1
- divi/__init__.py,sha256=YchE7e9-vvL4_Wcn_WFeYOiBBAgy6mCcUZnpqiTMCBI,277
2
- divi/utils.py,sha256=HcGlohwmowcQ-isVo0UtrsOsFbJEhX_earaSv4ggIR4,324
3
- divi/bin/core,sha256=GMj7vkrAhOajWhtUyHV41AV40kh01L6MhJdbmQrYU2E,14543426
4
- divi/config/config.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
- divi/proto/core.proto,sha256=CHo8HJx45l1v9SjtVebIOHbvhoNSEYYbNCKJ916wTuA,244
6
- divi/proto/core_pb2.py,sha256=aSfX-iQsfQFSiZU6DbJf8H_JQaTNiZe6xREDRKnwHs4,1547
7
- divi/proto/core_pb2.pyi,sha256=U_zlb-bJl9LNNayFUNmr805j1_j6oK2m6yT18aawMOc,184
8
- divi/proto/core_pb2_grpc.py,sha256=rnEbwjQNzpkPTWtNKXriPOaedkPHfHig6nMPzAUbeQM,3476
9
- divi/proto/health.proto,sha256=Ce2_7FxBGfHggW-oOLYIx1LW7YkSffPSNiRfd9nCPrY,199
10
- divi/proto/health_pb2.py,sha256=uBBBcoebu5xDgs4lybqlvKiupmpmTI17rb4InwaL8VQ,1650
11
- divi/proto/health_pb2.pyi,sha256=VbYHHTcp3epUVg0lTSxo3xpG52ZGhA7KKMRL5LR5e1c,691
12
- divi/services/__init__.py,sha256=TcVJ_gKxyPIcwhT9GgttqHeyk0icW44uE285KmUiyh4,185
13
- divi/services/finish.py,sha256=epgUNYdsGSC8j8uj_fhs7P0-Atem_hTlzyPPvbsWEPQ,91
14
- divi/services/init.py,sha256=JlsKHK-IEQ2xh76gNBqF_eqIFNBqoTnwiDeMXSJg4wQ,144
15
- divi/services/service.py,sha256=1c7JQ49BSdBipGLfVIxTHaNxTuyvVAgrvxV7lyYv_68,285
16
- divi/services/auth/__init__.py,sha256=PIQ9rQ0jcRqcy03a3BOY7wbzwluIRG_4kI_H4J4mRFk,74
17
- divi/services/auth/auth.py,sha256=dTpFnNhxbEjzOkBLPQvRblFSO5tedJsdObWTXt84MaE,631
18
- divi/services/auth/init.py,sha256=bScuij1a97sDPRZyrzIkrwX3X25LLY7NG6zZI92C7Xs,554
19
- divi/services/auth/tokman.py,sha256=V03wcV6TEy1k9o55teDVB9JZ3Ve2cJdwzWstQhWx4BQ,1070
20
- divi/services/core/__init__.py,sha256=FWl4ShX0AEnOyL24NEc9mNIVoQOeYO4q0qYX27L_Yyw,111
21
- divi/services/core/core.py,sha256=kwqW1DSkLcOjVVWA5y8cdYo35rJ9nNffs_aVC1894Dk,1198
22
- divi/services/core/finish.py,sha256=dIGQpVXcJY4-tKe7A1_VV3yoSHNCDPfOlUltvzvk6VI,231
23
- divi/services/core/init.py,sha256=TiY9Z6Vl93ZMAE07kuw6H2uHdk3jUtzGCV_I1cIdaLI,2073
24
- divi/services/datapark/__init__.py,sha256=ftKZC1QGegK7SFslC6jrbRD-S4WLXwBpucA4oiMj5so,55
25
- divi/services/datapark/datapark.py,sha256=a7db-SQPqiae1Yxs78h7omQq7sItX5UClfniwxN-CUc,159
26
- divi/services/datapark/init.py,sha256=K0GxbZW0qeimpEoKZeDJo-NIbffX7Hy7GlncOqTOj7U,179
27
- divi-0.0.1.dev11.dist-info/METADATA,sha256=fEjAoRB8qxYZjzEHHixSDSQ_G6eBpGbZYy7-H6nLhLo,457
28
- divi-0.0.1.dev11.dist-info/WHEEL,sha256=G84COq2WqV__z0k5yV28XkqceijvjyhYltl4MnmpO9g,102
29
- divi-0.0.1.dev11.dist-info/licenses/LICENSE,sha256=5OJuZ4wMMEV0DgF0tofhAlS_KLkaUsZwwwDS2U_GwQ0,1063
30
- divi-0.0.1.dev11.dist-info/RECORD,,