Skip to content

Runtime error when creating the client instance on Python 3.14 #68

@jjarrinf

Description

@jjarrinf

Following the steps on /docs/index.md:

When runing the create instance it raises this error:

RuntimeError: no validator found for <class 'ellipsis'>, see arbitrary_types_allowed in Config

To Reproduce
Steps to reproduce the behavior:

$ pip install farmOS~=1.0.0b
from farmOS import farmOS

farm_client = farmOS(
    hostname= "https://farm.example.com",
    client_id = "farm",
    scope = "farm_manager",
)

Expected behavior
It supposed that a validation must happen

Screenshots

Image

Desktop (please complete the following information):

  • OS: Windows / Visual Studio Code

Tracking the error to this code:

/farmoOS/subrequest.py
line 25 : Action class seems is not recognized by pydantic

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions