We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d727a9 commit 1e7fec4Copy full SHA for 1e7fec4
metadata-ingestion/src/datahub/cli/ingest_cli.py
@@ -224,7 +224,7 @@ async def run_ingestion_and_check_upgrade() -> int:
224
@click.option(
225
"--urn",
226
type=str,
227
- help="Urn of recipe to update",
+ help="Urn of recipe to update. Creates recipe if provided urn does not exist",
228
required=False,
229
)
230
@@ -293,10 +293,6 @@ def deploy(
293
variables["schedule"] = {"interval": schedule, "timezone": time_zone}
294
295
if urn:
296
- if not datahub_graph.exists(urn):
297
- logger.error(f"Could not find recipe for provided urn: {urn}")
298
- exit()
299
- logger.info("Found recipe URN, will update recipe.")
300
301
graphql_query: str = textwrap.dedent(
302
"""
0 commit comments