Skip to content

Commit 027bbc0

Browse files
authored
Add docs to blocks context postprocessing function (#2332)
Co-authored-by: Ian Gonzalez <ian.gl@protonmail.com>
1 parent 8ca7f9c commit 027bbc0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

gradio/blocks.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,9 @@ def __exit__(self, *args):
235235
Context.block = self.parent
236236

237237
def postprocess(self, y):
238+
"""
239+
Any postprocessing needed to be performed on a block context.
240+
"""
238241
return y
239242

240243

0 commit comments

Comments
 (0)