Ejemplo n.º 1
0
 def callback(
     ctx: click.Context,
     pulp_ctx: PulpContext,
     entity_ctx: PulpEntityContext,
 ) -> None:
     ctx.obj = PulpTaskContext(pulp_ctx)
     ctx.obj.resource_context = entity_ctx
Ejemplo n.º 2
0
def task(ctx: click.Context, pulp_ctx: PulpContext) -> None:
    ctx.obj = PulpTaskContext(pulp_ctx)