Skip to content

Commit

Permalink
Add project types schema to offsets_db_data models (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
andersy005 authored Nov 18, 2024
1 parent 822f59a commit 9dd0602
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions offsets_db_data/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@
'none',
]

project_types_schema = pa.DataFrameSchema(
{
'project_id': pa.Column(pa.String, nullable=False),
'project_type': pa.Column(pa.String, nullable=False),
'source': pa.Column(pa.String, nullable=False),
}
)


project_schema = pa.DataFrameSchema(
{
Expand Down

0 comments on commit 9dd0602

Please sign in to comment.