Skip to content

Commit 07d7014

Browse files
authored
docs: clean up docstring (merged content from README.md)
1 parent 0f48425 commit 07d7014

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

airbyte_cdk/test/models/connector_metadata/__init__.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
"""Connector metadata models for validation and testing.
1+
"""Pydantic and JSON Schema models for `metadata.yaml` validation and testing.
2+
3+
## Usage
4+
5+
```python
6+
from airbyte_cdk.test.models import ConnectorMetadataDefinitionV0
7+
import yaml
8+
9+
metadata = ConnectorMetadataDefinitionV0(**yaml.safe_load(metadata_yaml))
10+
```
11+
12+
## Regenerating Models
213
314
These models are auto-generated from JSON schemas in the airbytehq/airbyte repository.
415
For information on regenerating these models, see the Contributing Guide:

0 commit comments

Comments
 (0)