Skip to content

import_item fails when one tries to use DottedObjectName instead of a string #3602

@jdfreder

Description

@jdfreder

import_item fails when one tries to use DottedObjectName instead of a string

out:

File "/home/jonathan/ipython/IPython/utils/importstring.py", line 38, in import_item
parts = name.rsplit('.', 1)
AttributeError: 'DottedObjectName' object has no attribute 'rsplit'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions