mirror of
https://github.com/PaiGramTeam/EnkaNetwork.py.git
synced 2024-11-16 03:45:28 +00:00
fc4c09ae0b
remove PyPEP8 E501 example `asyncio.loop` to `asyncio.run` examples: pass all
12 lines
257 B
Python
12 lines
257 B
Python
import asyncio
|
|
|
|
from enkanetwork import EnkaNetworkAPI
|
|
|
|
client = EnkaNetworkAPI(debug=True)
|
|
|
|
async def main():
|
|
async with client:
|
|
await client.update_assets()
|
|
# You can see the progress download new assets in console
|
|
|
|
asyncio.run(main()) |