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

Errors and Warnings #2

Open
cipheryogi opened this issue Feb 22, 2024 · 1 comment
Open

Errors and Warnings #2

cipheryogi opened this issue Feb 22, 2024 · 1 comment

Comments

@cipheryogi
Copy link

I can't get rid of warnings (tried suppressing these but since these are not standard Python warnings and coming from Pydantic - can't suppress them).

(1) UserWarning: validate_string_parameters overrides an existing Pydantic @field_validator decorator
warnings.warn(f'{k} overrides an existing Pydantic {existing.decorator_info.decorator_repr} decorator')

(2) UserWarning: Field "model_sys_id" has conflict with protected namespace "model_"

Errors:

(in init
self.pydantic_validator.validate_python(data, self_instance=self)
pydantic_core._pydantic_core.ValidationError: 13 validation errors for TableModel
table_record_sys_id
Field required [type=missing, input_value={'table': 'incident'}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.6/v/missing
name_value_pairs
Field required [type=missing, input_value={'table': 'incident'}, input_type=dict]

@Knucklessg1
Copy link
Member

Hello, I apologize for getting back to you so late on this, but was this resolved? There was a refactor done since this time last year that fixed a lot of those issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants