handle_resource method

handle_resource

This method is responsible for handling the resource. In it you can save the Resource to the stream or embed it into the parent resource.

def handle_resource(self, resource, context):
    ...
ParameterTypeDescription
resourceResourceThe Resource which will be handled.
contextResourceHandlingContextResource handling context.

See Also