mirror of
https://github.com/gradio-app/gradio.git
synced 2025-02-17 11:29:58 +08:00
Add docs to blocks context postprocessing function (#2332)
Co-authored-by: Ian Gonzalez <ian.gl@protonmail.com>
This commit is contained in:
parent
8ca7f9c43b
commit
027bbc0180
@ -235,6 +235,9 @@ class BlockContext(Block):
|
||||
Context.block = self.parent
|
||||
|
||||
def postprocess(self, y):
|
||||
"""
|
||||
Any postprocessing needed to be performed on a block context.
|
||||
"""
|
||||
return y
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user