Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-873

Old-style class names in cmislib inline documentation

    XMLWordPrintableJSON

Details

    Description

      The cmislib inline documentation has snippets like

      >>> repo.createDocumentFromString('testdoc5', parentFolder=testFolder, contentString='Hello, World!', contentType='text/plain')
      <cmislib.model.Document object at 0x101352ed0>
      

      However, when run from trunk, the cmislib.model.Document class is no more, and instead you see things like

      >>> repo.createDocumentFromString('testdoc5', parentFolder=testFolder, contentString='Hello, World!', contentType='text/plain')
      <cmislib.atompub.binding.AtomPubDocument object at 0x2550d10>
      

      The class names in the documentation / examples should therefore probably be updated

      Attachments

        Activity

          People

            Unassigned Unassigned
            nick Nick Burch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: