Skip to content

Commit 6926c74

Browse files
committed
[PNE-7426] Expose Project.archived.
Allow users to view the archive status of a project.
1 parent 9a3d89d commit 6926c74

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/citrine/resources/project.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ class Project(Resource['Project']):
7777
"""str: Status of the project."""
7878
created_at = properties.Optional(properties.Datetime(), 'created_at')
7979
"""int: Time the project was created, in seconds since epoch."""
80+
archived = properties.Optional(properties.Boolean, 'archived')
81+
"""bool: Whether the project is archived."""
8082
_team_id = properties.Optional(properties.UUID, "team.id", serializable=False)
8183

8284
def __init__(self,

0 commit comments

Comments
 (0)