Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
U
unify_api2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chaonan
unify_api2
Commits
11b7900a
You need to sign in or sign up before continuing.
Commit
11b7900a
authored
Dec 15, 2023
by
ZZH
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opendata test log add time 2023-12-15
parent
56434f41
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
open_data.py
unify_api/modules/shidianu/views/open_data.py
+4
-1
No files found.
unify_api/modules/shidianu/views/open_data.py
View file @
11b7900a
import
random
import
pendulum
from
pot_libs.sanic_api
import
summary
from
unify_api.modules.shidianu.components.open_data_cps
import
(
BasicInfoReq
,
BasicInfoResp
,
StbDataReq
,
StbDataResp
,
SupplementReq
,
...
...
@@ -186,7 +189,7 @@ async def main():
rlt
=
await
new_list_alarm_service
(
cid
,
storey_ids
,
0
,
5
,
None
,
None
,
[
1
,
2
],
None
,
4
)
print
(
rlt
.
total
,
rlt
.
rows
)
logging
.
info
(
rlt
.
total
,
len
(
rlt
.
rows
),
rlt
.
rows
)
logging
.
info
(
pendulum
.
now
(),
rlt
.
total
,
len
(
rlt
.
rows
),
rlt
.
rows
)
await
asyncio
.
sleep
(
300
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment