Capture metadata to inform alerting, monitoring, and discovery.
https://docs.chalk.ai/docs/feature-discovery
Describe features at a feature class or feature level.
@features
class RocketLaunch:
# Feature descriptions are parsed from your code!
launched_at: datetime
https://docs.chalk.ai/docs/feature-discovery#description
Assign owners to features for monitoring and alerting.
@features(owner="default-owner@gmail.com")
class RocketLaunch:
# :owner: specific-owner@gmail.com
launched_at: datetime
https://docs.chalk.ai/docs/feature-discovery#owner
Tag related features.
@features(tags="group:risk")
class RiskReport:
id: str
risk_score: str
# :tags: pii
first_name: str
https://docs.chalk.ai/docs/feature-discovery#tags
Assigning tags & owners to features.
@features(owner="shuttle@nasa.gov", tags="group:rocketry")
class SpaceShuttle:
# The volume of this shuttle in square meters.
# :owner: architecture@nasa.gov
# :tags: zillow-fact, size
volume: str
assert tags(SpaceShuttle.volume) == ["zillow-fact", "size", "group:rocketry"]