Skip to content

intervention classes#98

Open
micahwoodard wants to merge 2 commits into
mainfrom
feat-intervention-classes
Open

intervention classes#98
micahwoodard wants to merge 2 commits into
mainfrom
feat-intervention-classes

Conversation

@micahwoodard

Copy link
Copy Markdown
Collaborator

Architects intervention classes like bias and autowater

@bruno-f-cruz bruno-f-cruz left a comment

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.

Looks like a good and useful abstraction. I left a single comment so you dont have to maintain more class hiererchy and use shape-based Protocol instead.

from abc import ABC, abstractmethod


class BaseIntervention(ABC):

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.

This doesn't implement any logic; consider using "Protocol" instead.

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