Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mover enumerações para suas respectivas classes #3

Open
Marlysson opened this issue Sep 14, 2016 · 0 comments
Open

Mover enumerações para suas respectivas classes #3

Marlysson opened this issue Sep 14, 2016 · 0 comments

Comments

@Marlysson
Copy link
Owner

Marlysson commented Sep 14, 2016

Remanejar "Enums" ( simulados ) para de arquivo para dentro das classes associadas.

Exemplo:

class TipoEvento(Enum):
    SIMPOSIO = "Simpósio"
    SEMANA_CIENTIFICA = "Semana científica"
...

Para:

class Evento(object):
    SIMPOSIO , SEMANA_CIENTIFICA = "Simpósio", "Semana Científica"

print(Evento.SIMPOSIO)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant