above is my code for which i am getting this error
pydantic_self.pydantic_validator.validate_python(data, self_instance=__pydantic_self__)
pydantic_core._pydantic_core.ValidationError: 2 validation errors for NumberConfig
id
Field required [type=missing, input_value={'number': NumberFormat(format='number')}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.4/v/missing
type
Field required [type=missing, input_value={'number': NumberFormat(format='number')}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.4/v/missing
but this was working file on my local, after i deployed i started getting error, i updated the versions also
import pandas as pd import notion_df csv_file_path = "/Users/badwolf/Downloads/output_table_df.csv" env_vars_path = "env_vars.txt" table_df = pd.read_csv(csv_file_path)
new_page_id, new_page_url = get_env_vars_from_text_file(env_vars_path) notion_df.config(api_key='secret_qPKn') notion_df.upload(table_df,new_page_url, title="Misclassified Intent count")
above is my code for which i am getting this error pydantic_self.pydantic_validator.validate_python(data, self_instance=__pydantic_self__) pydantic_core._pydantic_core.ValidationError: 2 validation errors for NumberConfig id Field required [type=missing, input_value={'number': NumberFormat(format='number')}, input_type=dict] For further information visit https://errors.pydantic.dev/2.4/v/missing type Field required [type=missing, input_value={'number': NumberFormat(format='number')}, input_type=dict] For further information visit https://errors.pydantic.dev/2.4/v/missing
but this was working file on my local, after i deployed i started getting error, i updated the versions also