Uploaded image for project: 'Pegasus'
  1. Pegasus
  2. PM-1414 create pegasus 5.0 api
  3. PM-1443

implement api for pegasus.conf

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: master, 5.0.0
    • Fix Version/s: master, 5.0.0
    • Component/s: None
    • Labels:
      None

      Description

      Should be able to programmatically create a pegasus.conf yml/json file.

      Look at python config/ini files. (configparser package)

      Note:
      class Conf:
          def __init__(self):
              self.d = dict()

          def __setitem__(self, k, v):
              self.d[k] = v
          
          def __getitem__(self, k):
              return self.d[k]
          
          def __delitem__(self, k):
              del self.d[k]

        Attachments

          Activity

            People

            • Assignee:
              tanaka Ryan Tanaka
              Reporter:
              tanaka Ryan Tanaka
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: