@@ -349,8 +349,8 @@ def route(self,
349349 methods : Optional [
350350 Union [Iterable [str ], Iterable [HttpMethod ]]] = None ,
351351 auth_level : Optional [Union [AuthLevel , str ]] = None ,
352- trigger_extra_fields : Dict = {},
353- binding_extra_fields : Dict = {}
352+ trigger_extra_fields : Dict [ str , Any ] = {},
353+ binding_extra_fields : Dict [ str , Any ] = {}
354354 ) -> Callable [..., Any ]:
355355 """The route decorator adds :class:`HttpTrigger` and
356356 :class:`HttpOutput` binding to the :class:`FunctionBuilder` object
@@ -405,7 +405,7 @@ def schedule(self,
405405 run_on_startup : Optional [bool ] = None ,
406406 use_monitor : Optional [bool ] = None ,
407407 data_type : Optional [Union [DataType , str ]] = None ,
408- ** kwargs ) -> Callable [..., Any ]:
408+ ** kwargs : Any ) -> Callable [..., Any ]:
409409 """The schedule decorator adds :class:`TimerTrigger` to the
410410 :class:`FunctionBuilder` object
411411 for building :class:`Function` object used in worker function
@@ -457,7 +457,7 @@ def service_bus_queue_trigger(
457457 access_rights : Optional [Union [AccessRights , str ]] = None ,
458458 is_sessions_enabled : Optional [bool ] = None ,
459459 cardinality : Optional [Union [Cardinality , str ]] = None ,
460- ** kwargs ) -> Callable [..., Any ]:
460+ ** kwargs : Any ) -> Callable [..., Any ]:
461461 """The on_service_bus_queue_change decorator adds
462462 :class:`ServiceBusQueueTrigger` to the :class:`FunctionBuilder` object
463463 for building :class:`Function` object used in worker function
@@ -516,7 +516,7 @@ def service_bus_topic_trigger(
516516 access_rights : Optional [Union [AccessRights , str ]] = None ,
517517 is_sessions_enabled : Optional [bool ] = None ,
518518 cardinality : Optional [Union [Cardinality , str ]] = None ,
519- ** kwargs ) -> Callable [..., Any ]:
519+ ** kwargs : Any ) -> Callable [..., Any ]:
520520 """The on_service_bus_topic_change decorator adds
521521 :class:`ServiceBusTopicTrigger` to the :class:`FunctionBuilder` object
522522 for building :class:`Function` object used in worker function
@@ -624,7 +624,7 @@ def event_hub_message_trigger(self,
624624 Union [Cardinality , str ]] = None ,
625625 consumer_group : Optional [
626626 str ] = None ,
627- ** kwargs ) -> Callable [..., Any ]:
627+ ** kwargs : Any ) -> Callable [..., Any ]:
628628 """The event_hub_message_trigger decorator adds
629629 :class:`EventHubTrigger`
630630 to the :class:`FunctionBuilder` object
@@ -697,7 +697,7 @@ def cosmos_db_trigger(self,
697697 preferred_locations : Optional [str ] = None ,
698698 data_type : Optional [
699699 Union [DataType , str ]] = None ,
700- ** kwargs ) -> \
700+ ** kwargs : Any ) -> \
701701 Callable [..., Any ]:
702702 """The cosmos_db_trigger decorator adds :class:`CosmosDBTrigger`
703703 to the :class:`FunctionBuilder` object
0 commit comments