Spaces:
Runtime error
Runtime error
File size: 591 Bytes
4a51346 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
from dataclasses import dataclass
from typing import ClassVar
from chromadb.telemetry import TelemetryEvent
@dataclass
class ClientStartEvent(TelemetryEvent):
name: ClassVar[str] = "client_start"
@dataclass
class ServerStartEvent(TelemetryEvent):
name: ClassVar[str] = "server_start"
@dataclass
class CollectionAddEvent(TelemetryEvent):
name: ClassVar[str] = "collection_add"
collection_uuid: str
add_amount: int
@dataclass
class CollectionDeleteEvent(TelemetryEvent):
name: ClassVar[str] = "collection_delete"
collection_uuid: str
delete_amount: int
|