Question Scott Fadden · Nov 11, 2020 Create Database using Python I am trying to create a database using python. The example shows setting a Name string and a Properties object containing Directory=. ; Use class methods to create an instance %SYS>s Name="ABC" %SYS>s Properties("Directory")="c:\abc\" %SYS>s Status=##Class(Config.Databases).Create(Name,.Properties) %SYS>i '$$$ISOK(Status) w !,"Error="_$SYSTEM.Status.GetErrorText(Status) How do I update and pass the Directory property using Python? #Python #InterSystems IRIS for Health 0 3 0 274
Question Scott Fadden · Oct 27, 2020 Configure IRIS using Python I am trying to configure IRIS using python. The first task I wanted to do it change the journal directory. I cannot figure out the right way to work with the Config.Journal class with python. I can get the text to query the current setting. returnValue = dbnative.classMethodValue("Config.Journal","GetList")print(returnValue ) But I don't see a straightforward way to parse the $List returned by GetList() I was hoping there was an easier way. How do I 1. Query configuration parameters? 2. Set configuration parameters? Using python? #Python #InterSystems IRIS for Health 0 2 0 244