Skip to content

Commit f7af97e

Browse files
dlashuaraman325
authored andcommitted
add docstring
1 parent 71b5286 commit f7af97e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

custom_components/pyscript/function.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ async def event_fire(cls, event_type, **kwargs):
134134

135135
@classmethod
136136
def store_hass_context(cls, hass_context):
137+
"""Store a context against the running task."""
137138
curr_task = asyncio.current_task()
138139
cls.task2context[curr_task] = hass_context
139140

0 commit comments

Comments
 (0)