INNER CODE UNIT · Python
__init__
microsoft/botframework-sdk · dri/output.py:28
def __init__(self):
self.repositories = []
def write_output(self, file_name = "botreport_" + datetime.now().strftime("%Y%m%d_%H%M%S") + ".json"):
with open(file_name, mode="w", encoding="utf-8") as json_file:
json_file.write(jsonpickle.encode(self, unpicklable=False))
# Repository output format for UI
class OutputRepository():
def __init__(self, name):
self.name = name
self.issues = []
# Issue output format for UI
class OutputIssue():
def __init__(self, tag, issue):
self.tag = tag
self.issue = issue