update port typing
@@ -100,7 +100,7 @@ def create_app(
def run(
action_package_name: Union[Text, types.ModuleType],
- port: int = DEFAULT_SERVER_PORT,
+ port: Union[Text, int] = DEFAULT_SERVER_PORT,
cors_origins: Union[Text, List[Text], None] = "*",
ssl_certificate: Optional[Text] = None,
ssl_keyfile: Optional[Text] = None,
