Skip to content

inconsistent interface for sess.data_objects.get and sess.collecctions.get #11

Description

@kgk

When fetching a non-existant resource:

sess.collections.get ('/iplant/home/ZZZ')

raises CollectionDoesNotExist

BUT a non-existant file gets a weird error

sess.data_objects.get ('/iplant/home/ZZZ')

AttributeError: 'iRODSDataObject' object has no attribute 'id'

Expected to get an exception DataObjectDoesNotExist

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