Skip to content

Commit d02d2d7

Browse files
committed
ENH: Use new children schema
BREAKING CHANGE: Replace `project_name` with `project_id` (see octue/octue-sdk-python#731 for more info).
1 parent 4a8c78a commit d02d2d7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/test_children.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class TestChildrenValidation(BaseTestCase):
5959
"id": "some-id",
6060
"backend": {
6161
"name": "GCPPubSubBackend",
62-
"project_name": "my-project"
62+
"project_id": "my-project"
6363
}
6464
}
6565
]
@@ -109,7 +109,7 @@ def test_extra_key_validation_on_valid_twine(self):
109109
"id": "some-id",
110110
"backend": {
111111
"name": "GCPPubSubBackend",
112-
"project_name": "my-project"
112+
"project_id": "my-project"
113113
},
114114
"some_extra_property": "should not be a problem if present"
115115
}

twined/twine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
)
4141

4242

43-
CHILDREN_SCHEMA = "https://jsonschema.registry.octue.com/octue/children/0.1.0.json"
43+
CHILDREN_SCHEMA = "https://jsonschema.registry.octue.com/octue/children/0.2.0.json"
4444
MANIFEST_SCHEMA = "https://jsonschema.registry.octue.com/octue/manifest/0.1.0.json"
4545

4646

0 commit comments

Comments
 (0)