Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Salvar contratos da prefeitura no banco de dados #63

Open
2 tasks
anapaulagomes opened this issue Mar 25, 2020 · 1 comment
Open
2 tasks

Salvar contratos da prefeitura no banco de dados #63

anapaulagomes opened this issue Mar 25, 2020 · 1 comment

Comments

@anapaulagomes
Copy link
Contributor

anapaulagomes commented Mar 25, 2020

Precisamos salvar contratos no banco de dados. Isso consiste em:

Aqui você pode ver como um contrato se parece:

class CityHallContractItem(BaseModel):
contract_id = StringType(required=True)
starts_at = DateType(formats=("%d/%m/%Y", "%d/%m/%y"))
summary = StringType()
contractor_document = StringType()
contractor_name = StringType()
value = StringType()
ends_at = DateType(formats=("%d/%m/%Y", "%d/%m/%y"))
file_urls = ListType(StringType)
file_content = StringType()

Alguns campos precisarão ser adaptados, como value. Ao invés de salvarmos como texto, por exemplo, temos que salvar em formato decimal, dessa forma fica mais fácil pra quem for fazer análises no futuro.

@anapaulagomes
Copy link
Contributor Author

@anicelysantos 🚀

@anapaulagomes anapaulagomes added bloqueada and removed good first issue Good for newcomers labels Apr 17, 2020
@anapaulagomes anapaulagomes added good first issue Good for newcomers bloqueada and removed bloqueada labels May 10, 2020
@anapaulagomes anapaulagomes removed the good first issue Good for newcomers label Sep 29, 2020
@anapaulagomes anapaulagomes changed the title Salvar contratos no banco de dados Salvar contratos da prefeitura no banco de dados May 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant