File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -153,11 +153,10 @@ def fullHouse(self):
153153 return False
154154
155155@activity .defn
156- async def poker_game () -> str :
157- activity .logger .error ("Running activity" )
156+ async def poker_game () -> None :
157+ # activity.logger.critical ("Running activity")
158158 player = Player ()
159159
160- # Initial Amount
161160 points = 100
162161
163162 end = False
@@ -278,15 +277,15 @@ async def poker_game() -> str:
278277@workflow .defn
279278class PokerWorkflow :
280279 @workflow .run
281- async def run (self ) -> str :
282- workflow .logger .error ("Running workflow" )
280+ async def run (self ) -> None :
281+ # workflow.logger.critical ("Running workflow")
283282 return await workflow .execute_activity (
284283 poker_game ,
285284 start_to_close_timeout = timedelta (seconds = 10 ),
286285 )
287286
288287async def main ():
289- logging .basicConfig (level = logging .DEBUG )
288+ logging .basicConfig (level = logging .CRITICAL )
290289
291290 client = await Client .connect ("localhost:7233" )
292291
You can’t perform that action at this time.
0 commit comments