Skip to content

The shared semantic layer definitions that dbt-core and MetricFlow use.

License

Notifications You must be signed in to change notification settings

dbt-labs/dbt-semantic-interfaces

Repository files navigation

dbt-semantic-interfaces

This repo contains the shared semantic classes, default validation, and tests designed to be used by both the dbt-core and MetricFlow projects. By centralizing these shared resources, we aim to maintain consistency and reduce code duplication across both projects.

Features

  • Protocols for shared semantic classes: Define the interfaces and common attributes that must be implemented by the objects in both projects.
  • Validation: Ensure that the objects comply with the expected structure and constraints.
  • Tests: Ensure that the objects' behavior is consistent and correct across both projects.

Contributing

We welcome contributions to improve this codebase! If you're interested in contributing, please read our contributing guidelines and code of conduct first.

License

This package is released under the Apache2 License.

Support

If you encounter any issues or have questions regarding the repo, please open an issue!