Skip to content

AttributeError: module 'drafthorse' has no attribute 'models' #68

@ThomDietrich

Description

@ThomDietrich

Hey there, as I want to use your library in a bigger context I'd prefer to call everything with absolute identifiers.

import drafthorse
doc = drafthorse.models.document.Document()

Sadly this throws

AttributeError: module 'drafthorse' has no attribute 'models'

How could I still make this work without hand-picking the imports? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions