def METHOD_NAME(func):
    """
    Capture Dagster OP context for Sentry Error handling
    """
    @functools.wraps(func)
    def wrapped_fn(*args, **kwargs):
        context = _get_context_from_args_kwargs(args, kwargs)
        with sentry_sdk.configure_scope() as scope:
            scope.set_transaction_name(context.job_name)
            scope.set_tag("job_name", context.job_name)
            scope.set_tag("op_name", context.op_def.name)
            scope.set_tag("run_id", context.run_id)
            scope.set_tag("retry_number", context.retry_number)
            return func(*args, **kwargs)
    return wrapped_fn