GitHubProjectUpdate#

class gafaelfawr.models.github_project.GitHubProjectUpdate(*, description=None, requested_by=None, username=None, repository=None, workflow=None, environment=None, ref=None, scopes=None, max_lifetime=None, uid=None, gid=None, groups=None, enabled=None)#

Bases: BaseModel

Changes to a GitHub project.

Fields that are not set are left unchanged. Setting an optional field to null clears it. Changing repository looks up its IDs again but leaves the username unchanged. Setting username to null derives it again from the repository, using the new repository if that is also changed.

Parameters:

Attributes Summary

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Attributes Documentation

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].