mirror of
https://github.com/datahub-project/datahub.git
synced 2026-01-07 15:27:05 +00:00
Adding new models to python codegen (#4726)
This commit is contained in:
parent
3584d64f1c
commit
325c9b0f08
@ -6,7 +6,7 @@ OUTDIR=./src/datahub/metadata
|
||||
# Note: this assumes that datahub has already been built with `./gradlew build`.
|
||||
DATAHUB_ROOT=..
|
||||
SCHEMAS_ROOT="$DATAHUB_ROOT/metadata-events/mxe-schemas/src/renamed/avro/com/linkedin"
|
||||
FILES="$SCHEMAS_ROOT/mxe/MetadataChangeEvent.avsc $SCHEMAS_ROOT/mxe/MetadataChangeProposal.avsc $SCHEMAS_ROOT/usage/UsageAggregation.avsc"
|
||||
FILES="$SCHEMAS_ROOT/mxe/MetadataChangeEvent.avsc $SCHEMAS_ROOT/mxe/MetadataChangeProposal.avsc $SCHEMAS_ROOT/usage/UsageAggregation.avsc $SCHEMAS_ROOT/mxe/MetadataChangeLog.avsc $SCHEMAS_ROOT/mxe/PlatformEvent.avsc $SCHEMAS_ROOT/platform/event/v1/EntityChangeEvent.avsc"
|
||||
# Since we depend on jq, check if jq is installed
|
||||
if ! which jq > /dev/null; then
|
||||
echo "jq is not installed. Please install jq and rerun (https://stedolan.github.io/jq/)"
|
||||
|
||||
@ -37,7 +37,7 @@ record MetadataChangeProposal {
|
||||
/**
|
||||
* Aspect of the entity being written to
|
||||
* Not filling this out implies that the writer wants to affect the entire entity
|
||||
* Note: This is only valid for CREATE and DELETE operations.
|
||||
* Note: This is only valid for CREATE, UPSERT, and DELETE operations.
|
||||
**/
|
||||
aspectName: optional string
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user