salo.events.github.audit.base

Module Contents

Classes

ActorLocationModel

Mixin to provide __str__, __repr__, and __pretty__ methods. See #884 for more details.

GitHubAuditModel

Mixin to provide __str__, __repr__, and __pretty__ methods. See #884 for more details.

class salo.events.github.audit.base.ActorLocationModel(__pydantic_self__, **data: Any)[source]

Bases: pydantic.BaseModel

Mixin to provide __str__, __repr__, and __pretty__ methods. See #884 for more details.

__pretty__ is used by [devtools](https://python-devtools.helpmanual.io/) to provide human readable representations of objects.

country_code :str
class salo.events.github.audit.base.GitHubAuditModel(__pydantic_self__, **data: Any)[source]

Bases: salo.SaloEventModel

Mixin to provide __str__, __repr__, and __pretty__ methods. See #884 for more details.

__pretty__ is used by [devtools](https://python-devtools.helpmanual.io/) to provide human readable representations of objects.

class Config[source]
json_encoders
fields
timestamp :datetime.datetime
github_document_id :Optional[str]
set_github_document_id(cls, v)[source]
set_github_created_at(cls, v, *, values)[source]
set_github_org(cls, v)[source]
set_github_business(cls, v)[source]
set_github_actor(cls, v)[source]
set_github_user(cls, v)[source]
set_github_name(cls, v)[source]
set_github_hook_id(cls, v)[source]
set_github_repo(cls, v, *, values)[source]
set_github_repository(cls, v, *, values)[source]
set_github_visibility(cls, v)[source]
set_github_team(cls, v, *, values)[source]
generate(self, by_alias: bool = True, exclude_none: bool = True)[source]