TeskaLabs/asab

Allow to specify `listen` in Web container by the integer

开放

#568 创建于 2024年4月10日

 (0 条评论) (0 个反应) (0 位负责人)Python (9 个派生)auto 404
enhancementgood first issue

仓库指标

星标
 (32 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

https://github.com/TeskaLabs/asab/blob/800f1148360c928a748435da547dc3ea9f90daa3/asab/web/container.py#L55

If the integer is provided as a port, convert that into a string first. It is useful in YAML-based configs, where the number is an actual integer and it fails here - see the screenshot.

image

贡献者指南