Skip to content

Commit

Permalink
Make author login and author avatar fields nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
Elena Henderson committed Mar 15, 2021
1 parent 6867867 commit 97b04f0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions conbench/entities/commit.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
EntitySerializer,
generate_uuid,
NotNull,
Nullable
)


Expand All @@ -19,8 +20,8 @@ class Commit(Base, EntityMixin):
url = NotNull(s.String(250))
message = NotNull(s.String(250))
author_name = NotNull(s.String(100))
author_login = NotNull(s.String(50))
author_avatar = NotNull(s.String(100))
author_login = Nullable(s.String(50))
author_avatar = Nullable(s.String(100))
timestamp = NotNull(s.DateTime(timezone=False))


Expand Down

0 comments on commit 97b04f0

Please sign in to comment.