perf: change structure and simplify

This commit is contained in:
tiagovla committed 2023-07-19 03:49:56 -03:00
1 parent df3033bc6e
commit e36e1f73c5
14 files changed
+117 -102

No files matched your search

@@ -9,9 +9,9 @@ logging.basicConfig(level=logging.INFO)
async def main() -> None:
cpf = "00011122233"
async with PPGEE(user=cpf, password=cpf) as ppgee:
frequency_page = await ppgee.frequency()
print(frequency_page.history())
await frequency_page.confirm()
attendency_page = await ppgee.attendency()
print(attendency_page.history())
await attendency_page.confirm()
await asyncio.sleep(5)