Skip to content

Commit

Permalink
added minor type hinting
Browse files Browse the repository at this point in the history
  • Loading branch information
SaidBySolo authored Jan 5, 2025
1 parent a575f5c commit beb81f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sanic/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ def load_environment_vars(self, prefix=SANIC_PREFIX):
except ValueError:
pass

def update_config(self, config: Union[bytes, str, dict, Any]):
def update_config(self, config: Union[bytes, str, dict[str, Any], Any]):
"""Update app.config.
.. note::
Expand Down

0 comments on commit beb81f4

Please sign in to comment.