🐛 Fix empty data in starrail challenge boss floor

This commit is contained in:
xtaodada 2024-06-24 23:28:23 +08:00
parent 406a1ecc80
commit 5f81e8c810
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659
4 changed files with 22 additions and 24 deletions

View File

@ -5,7 +5,7 @@
groups = ["default", "pyro", "test"] groups = ["default", "pyro", "test"]
strategy = ["cross_platform", "inherit_metadata"] strategy = ["cross_platform", "inherit_metadata"]
lock_version = "4.4.1" lock_version = "4.4.1"
content_hash = "sha256:c68c52f854841d063bb4df246f1168213ff9943640be99edb5897a37d99ace8d" content_hash = "sha256:7c20ef5aa9a946f2b922539de88fe7d316e2937a79c4e6f7c2a383316dca30c7"
[[package]] [[package]]
name = "aiocsv" name = "aiocsv"
@ -42,13 +42,13 @@ files = [
[[package]] [[package]]
name = "aiofiles" name = "aiofiles"
version = "23.2.1" version = "24.1.0"
requires_python = ">=3.7" requires_python = ">=3.8"
summary = "File support for asyncio." summary = "File support for asyncio."
groups = ["default"] groups = ["default"]
files = [ files = [
{file = "aiofiles-23.2.1-py3-none-any.whl", hash = "sha256:19297512c647d4b27a2cf7c34caa7e405c0d60b5560618a29a9fe027b18b0107"}, {file = "aiofiles-24.1.0-py3-none-any.whl", hash = "sha256:b4ec55f4195e3eb5d7abd1bf7e061763e864dd4954231fb8539a0ef8bb8260e5"},
{file = "aiofiles-23.2.1.tar.gz", hash = "sha256:84ec2218d8419404abcb9f0c02df3f34c6e0a68ed41072acfb1cef5cbc29051a"}, {file = "aiofiles-24.1.0.tar.gz", hash = "sha256:22a075c9e5a3810f0c2e48f3008c94d68c65d763b9b03857924c99e57355166c"},
] ]
[[package]] [[package]]
@ -1038,7 +1038,7 @@ files = [
[[package]] [[package]]
name = "importlib-metadata" name = "importlib-metadata"
version = "7.2.0" version = "7.2.1"
requires_python = ">=3.8" requires_python = ">=3.8"
summary = "Read metadata from Python packages" summary = "Read metadata from Python packages"
groups = ["default"] groups = ["default"]
@ -1047,8 +1047,8 @@ dependencies = [
"zipp>=0.5", "zipp>=0.5",
] ]
files = [ files = [
{file = "importlib_metadata-7.2.0-py3-none-any.whl", hash = "sha256:04e4aad329b8b948a5711d394fa8759cb80f009225441b4f2a02bd4d8e5f426c"}, {file = "importlib_metadata-7.2.1-py3-none-any.whl", hash = "sha256:ffef94b0b66046dd8ea2d619b701fe978d9264d38f3998bc4c27ec3b146a87c8"},
{file = "importlib_metadata-7.2.0.tar.gz", hash = "sha256:3ff4519071ed42740522d494d04819b666541b9752c43012f85afb2cc220fcc6"}, {file = "importlib_metadata-7.2.1.tar.gz", hash = "sha256:509ecb2ab77071db5137c655e24ceb3eee66e7bbc6574165d0d114d9fc4bbe68"},
] ]
[[package]] [[package]]
@ -1068,7 +1068,7 @@ files = [
[[package]] [[package]]
name = "influxdb-client" name = "influxdb-client"
version = "1.43.0" version = "1.44.0"
requires_python = ">=3.7" requires_python = ">=3.7"
summary = "InfluxDB 2.0 Python client library" summary = "InfluxDB 2.0 Python client library"
groups = ["default"] groups = ["default"]
@ -1080,13 +1080,13 @@ dependencies = [
"urllib3>=1.26.0", "urllib3>=1.26.0",
] ]
files = [ files = [
{file = "influxdb_client-1.43.0-py3-none-any.whl", hash = "sha256:f079e63018f521024118bc0141b6403c65506711e2e6e93500f8e69f1675dc38"}, {file = "influxdb_client-1.44.0-py3-none-any.whl", hash = "sha256:e4c1ac9c9925c4693d63e988e22f65d2ddc1867f8910813b7f4721633175f2a0"},
{file = "influxdb_client-1.43.0.tar.gz", hash = "sha256:ae2614d891baed52c0ae8f6194a04ee5b1c6422f6061318a3639fe63b7671b25"}, {file = "influxdb_client-1.44.0.tar.gz", hash = "sha256:da9bc0cc49de4a0ac844d833c1efa65227ec5a2254e63cdbe07b5d532c0c37f8"},
] ]
[[package]] [[package]]
name = "influxdb-client" name = "influxdb-client"
version = "1.43.0" version = "1.44.0"
extras = ["async", "ciso"] extras = ["async", "ciso"]
requires_python = ">=3.7" requires_python = ">=3.7"
summary = "InfluxDB 2.0 Python client library" summary = "InfluxDB 2.0 Python client library"
@ -1095,11 +1095,11 @@ dependencies = [
"aiocsv>=1.2.2", "aiocsv>=1.2.2",
"aiohttp>=3.8.1", "aiohttp>=3.8.1",
"ciso8601>=2.1.1", "ciso8601>=2.1.1",
"influxdb-client==1.43.0", "influxdb-client==1.44.0",
] ]
files = [ files = [
{file = "influxdb_client-1.43.0-py3-none-any.whl", hash = "sha256:f079e63018f521024118bc0141b6403c65506711e2e6e93500f8e69f1675dc38"}, {file = "influxdb_client-1.44.0-py3-none-any.whl", hash = "sha256:e4c1ac9c9925c4693d63e988e22f65d2ddc1867f8910813b7f4721633175f2a0"},
{file = "influxdb_client-1.43.0.tar.gz", hash = "sha256:ae2614d891baed52c0ae8f6194a04ee5b1c6422f6061318a3639fe63b7671b25"}, {file = "influxdb_client-1.44.0.tar.gz", hash = "sha256:da9bc0cc49de4a0ac844d833c1efa65227ec5a2254e63cdbe07b5d532c0c37f8"},
] ]
[[package]] [[package]]
@ -2197,7 +2197,7 @@ name = "simnet"
version = "0.1.22" version = "0.1.22"
requires_python = "<4.0,>=3.8" requires_python = "<4.0,>=3.8"
git = "https://github.com/PaiGramTeam/SIMNet" git = "https://github.com/PaiGramTeam/SIMNet"
revision = "6c2c41239e0bfa177dee1ab91d63e04382cb29ab" revision = "277a33321a20909541b46bf4ecf794fd47e19fb1"
summary = "Modern API wrapper for Genshin Impact & Honkai: Star Rail built on asyncio and pydantic." summary = "Modern API wrapper for Genshin Impact & Honkai: Star Rail built on asyncio and pydantic."
groups = ["default"] groups = ["default"]
dependencies = [ dependencies = [

View File

@ -25,7 +25,7 @@ dependencies = [
"redis<6.0.0,>=5.0.1", "redis<6.0.0,>=5.0.1",
"beautifulsoup4<5.0.0,>=4.12.1", "beautifulsoup4<5.0.0,>=4.12.1",
"asyncmy<1.0.0,>=0.2.9", "asyncmy<1.0.0,>=0.2.9",
"aiofiles<24.0.0,>=23.2.1", "aiofiles<25.0.0,>=24.1.0",
"python-dotenv<2.0.0,>=1.0.0", "python-dotenv<2.0.0,>=1.0.0",
"alembic<2.0.0,>=1.13.0", "alembic<2.0.0,>=1.13.0",
"black<25.0.0,>=24.1.1", "black<25.0.0,>=24.1.1",

View File

@ -2,7 +2,7 @@
# Please do not edit it manually. # Please do not edit it manually.
aiocsv==1.3.2 aiocsv==1.3.2
aiofiles==23.2.1 aiofiles==24.1.0
aiohttp==3.9.5 aiohttp==3.9.5
aiolimiter==1.1.0 aiolimiter==1.1.0
aiosignal==1.3.1 aiosignal==1.3.1
@ -43,9 +43,9 @@ httpcore==1.0.5
httptools==0.6.1 httptools==0.6.1
httpx==0.27.0 httpx==0.27.0
idna==3.7 idna==3.7
importlib-metadata==7.2.0; python_version < "3.9" importlib-metadata==7.2.1; python_version < "3.9"
importlib-resources==6.4.0; python_version < "3.9" importlib-resources==6.4.0; python_version < "3.9"
influxdb-client==1.43.0 influxdb-client==1.44.0
iniconfig==2.0.0 iniconfig==2.0.0
jinja2==3.1.4 jinja2==3.1.4
lxml==5.2.2 lxml==5.2.2
@ -87,7 +87,7 @@ rich==13.7.1
sentry-sdk==2.6.0 sentry-sdk==2.6.0
setuptools==70.1.0 setuptools==70.1.0
shellingham==1.5.4 shellingham==1.5.4
simnet @ git+https://github.com/PaiGramTeam/SIMNet@6c2c41239e0bfa177dee1ab91d63e04382cb29ab simnet @ git+https://github.com/PaiGramTeam/SIMNet@277a33321a20909541b46bf4ecf794fd47e19fb1
six==1.16.0 six==1.16.0
smmap==5.0.1 smmap==5.0.1
sniffio==1.3.1 sniffio==1.3.1

View File

@ -56,7 +56,7 @@
</div> </div>
</div> </div>
<div class="battles"> <div class="battles">
{% for node in floor_nodes %} {% for node in floor_nodes if node.has_data %}
<div class="battle"> <div class="battle">
{% for character in node.avatars %} {% for character in node.avatars %}
<div class="character"> <div class="character">
@ -75,7 +75,6 @@
<div class="caption">Lv.{{ character.level }}</div> <div class="caption">Lv.{{ character.level }}</div>
</div> </div>
{% endfor %} {% endfor %}
{% if loop.length > 1 %}
<div class="battle-info"> <div class="battle-info">
<div>节点{{ loop.index }}</div> <div>节点{{ loop.index }}</div>
<br/> <br/>
@ -87,7 +86,6 @@
<div>未击败首领</div> <div>未击败首领</div>
{% endif %} {% endif %}
</div> </div>
{% endif %}
</div> </div>
<div class="buffs"> <div class="buffs">
<div class="buff-item"> <div class="buff-item">