blob: 6460ec6f7f56f54e069dab8efcbec4d8c711b0fe (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
from typing import Mapping, Optional
class OverrideDefinition(dict):
"""Definition of a overridable field of a component job."""
def get_override_definition_from_schema(
schema: str, # pylint: disable=unused-argument
) -> Optional[Mapping[str, OverrideDefinition]]:
"""Ger override definition from a json schema.
:param schema: Json schema of component job.
:type schema: str
:return: A dictionary from a override definition name to a override definition.
"""
# TODO: gen override definition
return None
|