You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Jeff Potts (JIRA)" <ji...@apache.org> on 2017/08/31 14:54:00 UTC

[jira] [Closed] (CMIS-873) Old-style class names in cmislib inline documentation

     [ https://issues.apache.org/jira/browse/CMIS-873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Potts closed CMIS-873.
---------------------------

> Old-style class names in cmislib inline documentation
> -----------------------------------------------------
>
>                 Key: CMIS-873
>                 URL: https://issues.apache.org/jira/browse/CMIS-873
>             Project: Chemistry
>          Issue Type: Bug
>          Components: python-cmislib
>            Reporter: Nick Burch
>            Priority: Minor
>              Labels: Newcomer
>             Fix For: cmislib 0.6.0
>
>
> The cmislib inline documentation has snippets like
> {code}
> >>> repo.createDocumentFromString('testdoc5', parentFolder=testFolder, contentString='Hello, World!', contentType='text/plain')
> <cmislib.model.Document object at 0x101352ed0>
> {code}
> However, when run from trunk, the {{cmislib.model.Document}} class is no more, and instead you see things like
> {code}
> >>> repo.createDocumentFromString('testdoc5', parentFolder=testFolder, contentString='Hello, World!', contentType='text/plain')
> <cmislib.atompub.binding.AtomPubDocument object at 0x2550d10>
> {code}
> The class names in the documentation / examples should therefore probably be updated



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)