File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed
Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ async def __call__(
2222 * ,
2323 context : AsyncBoltContext ,
2424 enterprise_id : Optional [str ],
25- team_id : str ,
25+ team_id : Optional [ str ], # can be None for org-wide installed apps
2626 user_id : Optional [str ],
2727 ) -> Optional [AuthorizeResult ]:
2828 raise NotImplementedError ()
@@ -41,7 +41,7 @@ async def __call__(
4141 * ,
4242 context : AsyncBoltContext ,
4343 enterprise_id : Optional [str ],
44- team_id : str ,
44+ team_id : Optional [ str ], # can be None for org-wide installed apps
4545 user_id : Optional [str ],
4646 ) -> Optional [AuthorizeResult ]:
4747 try :
@@ -116,7 +116,7 @@ async def __call__(
116116 * ,
117117 context : AsyncBoltContext ,
118118 enterprise_id : Optional [str ],
119- team_id : str ,
119+ team_id : Optional [ str ], # can be None for org-wide installed apps
120120 user_id : Optional [str ],
121121 ) -> Optional [AuthorizeResult ]:
122122
Original file line number Diff line number Diff line change @@ -11,15 +11,15 @@ class AsyncAuthorizeArgs:
1111 logger : Logger
1212 client : AsyncWebClient
1313 enterprise_id : Optional [str ]
14- team_id : str
14+ team_id : Optional [ str ]
1515 user_id : Optional [str ]
1616
1717 def __init__ (
1818 self ,
1919 * ,
2020 context : AsyncBoltContext ,
2121 enterprise_id : Optional [str ],
22- team_id : str ,
22+ team_id : Optional [ str ], # can be None for org-wide installed apps
2323 user_id : Optional [str ],
2424 ):
2525 """The whole arguments that are passed to Authorize functions.
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ def __call__(
2121 * ,
2222 context : BoltContext ,
2323 enterprise_id : Optional [str ],
24- team_id : str ,
24+ team_id : Optional [ str ], # can be None for org-wide installed apps
2525 user_id : Optional [str ],
2626 ) -> Optional [AuthorizeResult ]:
2727 raise NotImplementedError ()
@@ -43,7 +43,7 @@ def __call__(
4343 * ,
4444 context : BoltContext ,
4545 enterprise_id : Optional [str ],
46- team_id : str ,
46+ team_id : Optional [ str ], # can be None for org-wide installed apps
4747 user_id : Optional [str ],
4848 ) -> Optional [AuthorizeResult ]:
4949 try :
@@ -121,7 +121,7 @@ def __call__(
121121 * ,
122122 context : BoltContext ,
123123 enterprise_id : Optional [str ],
124- team_id : str ,
124+ team_id : Optional [ str ], # can be None for org-wide installed apps
125125 user_id : Optional [str ],
126126 ) -> Optional [AuthorizeResult ]:
127127
Original file line number Diff line number Diff line change @@ -11,15 +11,15 @@ class AuthorizeArgs:
1111 logger : Logger
1212 client : WebClient
1313 enterprise_id : Optional [str ]
14- team_id : str
14+ team_id : Optional [ str ]
1515 user_id : Optional [str ]
1616
1717 def __init__ (
1818 self ,
1919 * ,
2020 context : BoltContext ,
2121 enterprise_id : Optional [str ],
22- team_id : str ,
22+ team_id : Optional [ str ], # can be None for org-wide installed apps
2323 user_id : Optional [str ],
2424 ):
2525 """The whole arguments that are passed to Authorize functions.
You can’t perform that action at this time.
0 commit comments