fix(ingest): update generated files (#3292)

This commit is contained in:
Gabe Lyons 2021-09-23 12:02:01 -07:00 committed by GitHub
parent 106be099f3
commit 507d1e7658
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 14 deletions

View File

@ -5703,8 +5703,8 @@
"class": "com.linkedin.pegasus2avro.common.urn.Urn" "class": "com.linkedin.pegasus2avro.common.urn.Urn"
}, },
"type": "string", "type": "string",
"name": "dataset", "name": "parent",
"doc": "Dataset associated with the schema field" "doc": "Parent associated with the schema field"
}, },
{ {
"Searchable": { "Searchable": {

View File

@ -5107,12 +5107,12 @@ class SchemaFieldKeyClass(DictWrapper):
RECORD_SCHEMA = get_schema_type("com.linkedin.pegasus2avro.metadata.key.SchemaFieldKey") RECORD_SCHEMA = get_schema_type("com.linkedin.pegasus2avro.metadata.key.SchemaFieldKey")
def __init__(self, def __init__(self,
dataset: str, parent: str,
fieldPath: str, fieldPath: str,
): ):
super().__init__() super().__init__()
self.dataset = dataset self.parent = parent
self.fieldPath = fieldPath self.fieldPath = fieldPath
@classmethod @classmethod
@ -5123,19 +5123,19 @@ class SchemaFieldKeyClass(DictWrapper):
return self return self
def _restore_defaults(self) -> None: def _restore_defaults(self) -> None:
self.dataset = str() self.parent = str()
self.fieldPath = str() self.fieldPath = str()
@property @property
def dataset(self) -> str: def parent(self) -> str:
"""Getter: Dataset associated with the schema field""" """Getter: Parent associated with the schema field"""
return self._inner_dict.get('dataset') # type: ignore return self._inner_dict.get('parent') # type: ignore
@dataset.setter @parent.setter
def dataset(self, value: str) -> None: def parent(self, value: str) -> None:
"""Setter: Dataset associated with the schema field""" """Setter: Parent associated with the schema field"""
self._inner_dict['dataset'] = value self._inner_dict['parent'] = value
@property @property

View File

@ -5632,9 +5632,9 @@
"doc": "Key for a SchemaField", "doc": "Key for a SchemaField",
"fields": [ "fields": [
{ {
"name": "dataset", "name": "parent",
"type": "string", "type": "string",
"doc": "Dataset associated with the schema field", "doc": "Parent associated with the schema field",
"Searchable": { "Searchable": {
"fieldType": "URN" "fieldType": "URN"
}, },