Skip to content

Commit

Permalink
Improve docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
Zethson authored Nov 22, 2024
1 parent 072b00f commit a9244e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ourprojects/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Meta(Record.Meta, TracksRun.Meta, TracksUpdates.Meta):
email: str | None = EmailField(null=True, default=None)
"""Email of the person."""
external: bool = BooleanField(default=True, db_index=True)
"""Whether the person is external to the organization or not."""
"""Whether the person is external to the organization."""


class Project(Record, CanCurate, TracksRun, TracksUpdates, ValidateFields):
Expand Down Expand Up @@ -144,7 +144,7 @@ class Meta(Record.Meta, TracksRun.Meta, TracksUpdates.Meta):
preprint: bool = BooleanField(default=False, db_index=True)
"""Whether the reference is from a preprint."""
public: bool = BooleanField(default=True, db_index=True)
"""Whether the reference is public or not."""
"""Whether the reference is public."""
journal: str | None = TextField(null=True)
"""Name of the journal."""
description: str | None = TextField(null=True)
Expand Down

0 comments on commit a9244e3

Please sign in to comment.