We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5aac61 commit d943109Copy full SHA for d943109
1 file changed
README.md
@@ -21,7 +21,7 @@ pip install datacontract-specification
21
## Usage
22
23
```python
24
-from datacontract_specification import DataContractSpecification
+from datacontract_specification.model import DataContractSpecification
25
26
# Load a data contract specification from a file
27
data_contract = DataContractSpecification.from_file('path/to/your/data_contract.yaml')
@@ -30,7 +30,7 @@ print(data_contract.to_yaml())
30
```
31
32
33
34
35
# Load a data contract specification from a string
36
data_contract_str = """
0 commit comments