def extract_function_metadata(wrapped, instance, args, kwargs, return_value):
    """Stash the `args` and `kwargs` into the metadata of the subsegment."""
    LOGGER.debug(
        'Extracting function call metadata',
        args=args,
        kwargs=kwargs,
    )
    return {
        'metadata': {
            'args': args,
            'kwargs': kwargs,
        },
    }
def extract_function_metadata ( wrapped , instance , args , kwargs , return_value ) : LOGGER . debug ( 'Extracting function call metadata' , args = args , kwargs = kwargs , ) return { 'metadata' : { 'args' : args , 'kwargs' : kwargs , } , }
Stash the `args` and `kwargs` into the metadata of the subsegment.