Skip to content

Conversation

@Migueldsc12
Copy link

Qué?

Se ha realizado un refactor de los imports de datetime para estandarizar su uso a través de múltiples módulos y así mejorar la consistencia y legibilidad del código.

Por qué?

Utilizar un alias consistente para los imports de datetime a través de diversos módulos ayuda a mantener un código más limpio, fácil de leer y de mantener.

Cómo?

Se han modificado los siguientes archivos para utilizar un alias común (dtm) para los imports de datetime:

test_messageorigin.py
test_poll.py
test_reply.py
test_stars.py
test_telegramobjects.py
test_update.py
test_videochat.py
test_webhookinfo.py
test_datetime.py
bot_method_checks.py
build_messages.py
timezones.py
test_businessconnectionhandler.py

@Migueldsc12 Migueldsc12 added the enhancement New feature or request label Dec 13, 2024
@Migueldsc12 Migueldsc12 self-assigned this Dec 13, 2024
@Migueldsc12 Migueldsc12 requested a review from Jeam-zx December 13, 2024 00:26
Copy link
Collaborator

@cuevasrja cuevasrja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

Copy link

@Jeam-zx Jeam-zx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@cuevasrja cuevasrja merged commit 58cdc0f into master Dec 13, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Dec 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants