fnetpepAPI.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:FileNetPEAPI 作者: wandss 项目源码 文件源码
def __getAppSpaces(self):

        """Returns a list with the name of availables appspaces on FileNet,
        to apps variable.
        """        
        try:
            appspaces = requests.get(self.baseurl+'appspacenames',
                                     auth=self.cred)
            appspaces.raise_for_status()
            self.appspaces = appspaces.json()            
            self.apps = appspaces.json().keys()

        except Exception as e:
            print (str(e)+':\n'+str(appspaces.json()['UserMessage']['Text']))
            print (appspaces.json())
            self.apps =  appspaces.json()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号