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

Function signature support for pydantic BaseModel data structures #443

Open
spillai opened this issue Oct 26, 2023 · 0 comments
Open

Function signature support for pydantic BaseModel data structures #443

spillai opened this issue Oct 26, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@spillai
Copy link
Contributor

spillai commented Oct 26, 2023

faceswap-nos-server-1  | Traceback (most recent call last):
faceswap-nos-server-1  |   File "/opt/agi-pack/conda/envs/nos-py310/lib/python3.10/site-packages/grpc/_server.py", line 552, in _call_behavior
faceswap-nos-server-1  |     response_or_iterator = behavior(argument, context)
faceswap-nos-server-1  |   File "/opt/agi-pack/conda/envs/nos-py310/lib/python3.10/site-packages/nos/server/_service.py", line 169, in GetModelInfo
faceswap-nos-server-1  |     return spec._to_proto()
faceswap-nos-server-1  |   File "/opt/agi-pack/conda/envs/nos-py310/lib/python3.10/site-packages/nos/common/spec.py", line 596, in _to_proto
faceswap-nos-server-1  |     response_bytes=dumps(spec),
faceswap-nos-server-1  |   File "/opt/agi-pack/conda/envs/nos-py310/lib/python3.10/site-packages/nos/common/cloudpickle.py", line 7, in dumps
faceswap-nos-server-1  |     return cloudpickle.dumps(obj, **kwargs)
faceswap-nos-server-1  |   File "/opt/agi-pack/conda/envs/nos-py310/lib/python3.10/site-packages/cloudpickle/cloudpickle.py", line 1479, in dumps
faceswap-nos-server-1  |     cp.dump(obj)
faceswap-nos-server-1  |   File "/opt/agi-pack/conda/envs/nos-py310/lib/python3.10/site-packages/cloudpickle/cloudpickle.py", line 1245, in dump
faceswap-nos-server-1  |     return super().dump(obj)
faceswap-nos-server-1  | _pickle.PicklingError: Can't pickle <cyfunction str_validator at 0x7f690c44edc0>: it's not the same object as pydantic.validators.str_validator
@spillai spillai added the bug Something isn't working label Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant