finish method
finish(self, part)
Releases resources after processing currently part of input.
def finish(self, part):
...
Parameter | Type | Description |
---|---|---|
part | LowCodeLoadOptions | the load options used for currently split part. |
Remarks
By default this method just closes the stream specified by the
LowCodeLoadOptions.input_stream
directly(if the load options
specified a Stream as source).
User may overwrite this method to control how to release resources
according to their requirement and the implementation of
AbstractLowCodeLoadOptionsProvider.current
.