Skip to content

Commit e5aac61

Browse files
committed
Update
1 parent 8dc4ba2 commit e5aac61

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
include datacontract_specification/datacontract-specification-json-schema-v1.1.0.json
1+
include datacontract_specification/schema.json

src/datacontract_specification/data_contract_specification.py renamed to src/datacontract_specification/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def from_string(cls, data_contract_str: str) -> "DataContractSpecification":
331331
@classmethod
332332
def json_schema(cls):
333333
package_name = __package__
334-
json_schema = "datacontract-specification-json-schema-v1.1.0.json"
334+
json_schema = "schema.json"
335335
with impresources.open_text(package_name,
336336
json_schema) as file:
337337
return file.read()

src/datacontract_specification/datacontract-specification-json-schema-v1.1.0.json renamed to src/datacontract_specification/schema.json

File renamed without changes.

src/datacontract_specification/test_data_contract_specification.py renamed to src/datacontract_specification/test_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import yaml
22

3-
from .data_contract_specification import DataContractSpecification
3+
from .model import DataContractSpecification
44

55

66
def test_roundtrip():

0 commit comments

Comments
 (0)