Skip to content

Val_Elem554 missing from /climsoft/v1/form_agro1s #25

@isedwards

Description

@isedwards

Val_Elem554 exists in the database schema (SQL DDL):

CREATE TABLE IF NOT EXISTS `form_agro1` (
  `Val_Elem554` varchar(6) DEFAULT NULL,
  ...

and in the SQLAlchemy model:

class FormAgro1(Base):
    Val_Elem554 = Column(String(6))
    ...

Plus it's implemented in the API field mappings:

field_mapping = {
    "Val_Elem554": "val_elem554",
    ...

But it's missing from ClassFromAgro1() in the API's representation of the schema (and is also missing in the response):
https://github.com/openclimateinitiative/climsoft-api/blob/main/src/climsoft_api/api/form_agro1/schema.py#L82

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions