Skip to content

Commit

Permalink
Remove pipe operator; add visibility parameter to Community dataclass
Browse files Browse the repository at this point in the history
  • Loading branch information
tjkessler committed Jul 20, 2024
1 parent 672d4df commit f70999b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plemmy/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ class Community:
instance_id: int = None
updated: str = None
banner: bool = None
visibility: str = None


@dataclass
Expand Down Expand Up @@ -202,7 +203,7 @@ class Instance:
software: str = None
updated: str = None
version: str = None
federation_state: FederationState | None = None
federation_state: FederationState = None


@dataclass
Expand Down

0 comments on commit f70999b

Please sign in to comment.