Skip to content

ItemFileChangePatchUpdatedNotification

Base classes

Name Children Inherits
CodexBaseModel
codexed.models.base
Base model for all Codex API models.

⋔ Inheritance diagram

graph TD
  3139929111["v2_protocol.ItemFileChangePatchUpdatedNotification"]
  3116041069["base.CodexBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3116041069 --> 3139929111
  3879467795 --> 3116041069
  2751680898 --> 3879467795

🛈 DocStrings

Bases: CodexBaseModel

Notification sent from the server to the client.

Source code in src/codexed/models/v2_protocol.py
class ItemFileChangePatchUpdatedNotification(CodexBaseModel):
    """Notification sent from the server to the client."""

    emitted_at_ms: int | None = None
    """
    Unix timestamp (in milliseconds) when app-server emitted this notification.
    """
    method: Literal["item/fileChange/patchUpdated"] = "item/fileChange/patchUpdated"
    params: FileChangePatchUpdatedNotification

emitted_at_ms class-attribute instance-attribute

emitted_at_ms: int | None = None

Unix timestamp (in milliseconds) when app-server emitted this notification.

:fa-brands-github: Show source on GitHub