Skip to content

New Schema and DB Models#29

Merged
sinnec merged 2 commits intomainfrom
schemas-entities-redesign
Nov 1, 2022
Merged

New Schema and DB Models#29
sinnec merged 2 commits intomainfrom
schemas-entities-redesign

Conversation

@sinnec
Copy link
Copy Markdown
Contributor

@sinnec sinnec commented Nov 1, 2022

No description provided.

@sinnec sinnec requested a review from momegas November 1, 2022 10:53
Copy link
Copy Markdown
Member

@momegas momegas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall. Some of the schemas might not be needed but we will see this when we start integration and things become more obvious.

Comment thread src/entities/Alert.py Outdated
id = Column(String, primary_key=True, unique=True, default=generate_uuid)
model_monitor_id = Column(String, ForeignKey("model_monitors.id", ondelete="CASCADE"))
status = Column(Any) # Define Enum
severity = Column(Any) # Define Enum
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Low / mid / high seems reasonable for severity
For status, I would say open / closed

Comment thread src/entities/__init__.py Outdated
from .Inference import Inference
from .Model import Model
from .ModelIntegrityMetric import ModelIntegrityMetric
# from .ModelMonitor import ModelMonitor
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No comments 😉

- Fixed tests
- Commented properties with Any type
@sinnec sinnec merged commit 74be565 into main Nov 1, 2022
@momegas momegas deleted the schemas-entities-redesign branch November 18, 2022 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants