Skip to content

add support for unfolding to python schema #470

Closed

Description

@thet0ast3r

Is your feature request related to a problem? Please describe.

adding _unfoldable = [] does nothing when creating a schema with the python client.
E.g.:

myschema = Schema()


class Method(DocumentTemplate):
    _schema = myschema
    linked = OtherClass
    _unfoldable = [] #

Expected output: The resulting schema has @unfoldable in the document definition, but it hasn't.

Describe the solution you'd like

for unfoldable, it seems that it could just function analogous to _schema or _abstract. so _unfoldable = [].

Describe alternatives you've considered
Decorator.

Additional context
Im trying to use terminus exclusively from python (i.e. i'd like to be able to access all functionality in a pythonic way, including retrieval -> need to be able to have unfoldable for the db to return a subgraph/tree instead of only a list of solutions).

Activity

  1. added a commit that references this issue on Oct 31, 2026
    7ccc649
  2. hoijnet commented on Oct 31, 2026

    @hoijnet
    Collaborator

    @thet0ast3r this is now added. There is also a lot of updates to documentation on https://terminusdb.com regarding new upcoming features in the 12.1 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: python clientrelevant to python clientenhancementNew feature or requestpythonPull requests that update python codetriageissue to be triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions