text: # GENERATED BY KOMAND SDK - DO NOT EDIT
  import komand
  import json
  
  
  class Component:
      DESCRIPTION = "Retrieve all issues currently open on the specified repo"
  
  
  class Input:
      OWNER = "owner"
      TITLE = "title"
      
  
  class Output:
      ISSUES = "issues"
      
  
  class GetIssuesByRepoInput(komand.Input):
      schema = json.loads("""
     {
    "type": "object",
    "title": "Variables",
    "properties": {
      "owner": {
        "type": "string",
        "title": "Owner",
        "description": "Owner of the repository",
        "order": 2
      },
      "title": {
        "type": "string",
        "title": "Title",
        "description": "Name of the repository",
        "order": 1
      }
    },
    "required": [
      "owner",
      "title"
    ]
  }
      """)
  
      def __init__(self):
          super(self.__class__, self).__init__(self.schema)
  
  
  class GetIssuesByRepoOutput(komand.Output):
      schema = json.loads("""
     {
    "type": "object",
    "title": "Variables",
    "properties": {
      "issues": {
        "type": "array",
        "title": "Issues",
        "description": "An array of the issues open on the specified repo",
        "items": {
          "$ref": "#/definitions/issue"
        },
        "order": 1
      }
    },
    "definitions": {
      "assignee": {
        "type": "object",
        "title": "assignee",
        "properties": {
          "avatar_url": {
            "type": "string",
            "title": "Avatar Url",
            "order": 1
          },
          "events_url": {
            "type": "string",
            "title": "Events Url",
            "order": 2
          },
          "followers_url": {
            "type": "string",
            "title": "Followers Url",
            "order": 3
          },
          "following_url": {
            "type": "string",
            "title": "Following Url",
            "order": 4
          },
          "gists_url": {
            "type": "string",
            "title": "Gists Url",
            "order": 5
          },
          "gravatar_id": {
            "type": "string",
            "title": "Gravatar Id",
            "order": 6
          },
          "html_url": {
            "type": "string",
            "title": "Html Url",
            "order": 7
          },
          "id": {
            "type": "integer",
            "title": "Id",
            "order": 8
          },
          "login": {
            "type": "string",
            "title": "Login",
            "order": 9
          },
          "organizations_url": {
            "type": "string",
            "title": "Organizations Url",
            "order": 10
          },
          "received_events_url": {
            "type": "string",
            "title": "Received Events Url",
            "order": 11
          },
          "repos_url": {
            "type": "string",
            "title": "Repos Url",
            "order": 12
          },
          "site_admin": {
            "type": "boolean",
            "title": "Site Admin",
            "order": 13
          },
          "starred_url": {
            "type": "string",
            "title": "Starred Url",
            "order": 14
          },
          "subscriptions_url": {
            "type": "string",
            "title": "Subscriptions Url",
            "order": 15
          },
          "type": {
            "type": "string",
            "title": "Type",
            "order": 16
          },
          "url": {
            "type": "string",
            "title": "Url",
            "order": 17
          }
        }
      },
      "issue": {
        "type": "object",
        "title": "issue",
        "properties": {
          "assignee": {
            "$ref": "#/definitions/assignee",
            "title": "Assignee",
            "order": 1
          },
          "assignees": {
            "type": "array",
            "title": "Assignees",
            "items": {
              "$ref": "#/definitions/assignee"
            },
            "order": 2
          },
          "body": {
            "type": "string",
            "title": "Body",
            "order": 3
          },
          "comments": {
            "type": "integer",
            "title": "Comments",
            "order": 4
          },
          "comments_url": {
            "type": "string",
            "title": "Comments Url",
            "order": 5
          },
          "created_at": {
            "type": "string",
            "title": "Created At",
            "order": 6
          },
          "events_url": {
            "type": "string",
            "title": "Events Url",
            "order": 7
          },
          "html_url": {
            "type": "string",
            "title": "Html Url",
            "order": 8
          },
          "id": {
            "type": "integer",
            "title": "Id",
            "order": 9
          },
          "labels": {
            "type": "array",
            "title": "Labels",
            "items": {
              "$ref": "#/definitions/label"
            },
            "order": 10
          },
          "labels_url": {
            "type": "string",
            "title": "Labels Url",
            "order": 11
          },
          "locked": {
            "type": "boolean",
            "title": "Locked",
            "order": 12
          },
          "milestone": {
            "$ref": "#/definitions/milestone",
            "title": "Milestone",
            "order": 13
          },
          "number": {
            "type": "integer",
            "title": "Number",
            "order": 14
          },
          "pull_request": {
            "$ref": "#/definitions/pull_request",
            "title": "Pull Request",
            "order": 15
          },
          "repository_url": {
            "type": "string",
            "title": "Repository Url",
            "order": 16
          },
          "state": {
            "type": "string",
            "title": "State",
            "order": 17
          },
          "title": {
            "type": "string",
            "title": "Title",
            "order": 18
          },
          "updated_at": {
            "type": "string",
            "title": "Updated At",
            "order": 19
          },
          "url": {
            "type": "string",
            "title": "Url",
            "order": 20
          },
          "user": {
            "$ref": "#/definitions/assignee",
            "title": "User",
            "order": 21
          }
        },
        "definitions": {
          "assignee": {
            "type": "object",
            "title": "assignee",
            "properties": {
              "avatar_url": {
                "type": "string",
                "title": "Avatar Url",
                "order": 1
              },
              "events_url": {
                "type": "string",
                "title": "Events Url",
                "order": 2
              },
              "followers_url": {
                "type": "string",
                "title": "Followers Url",
                "order": 3
              },
              "following_url": {
                "type": "string",
                "title": "Following Url",
                "order": 4
              },
              "gists_url": {
                "type": "string",
                "title": "Gists Url",
                "order": 5
              },
              "gravatar_id": {
                "type": "string",
                "title": "Gravatar Id",
                "order": 6
              },
              "html_url": {
                "type": "string",
                "title": "Html Url",
                "order": 7
              },
              "id": {
                "type": "integer",
                "title": "Id",
                "order": 8
              },
              "login": {
                "type": "string",
                "title": "Login",
                "order": 9
              },
              "organizations_url": {
                "type": "string",
                "title": "Organizations Url",
                "order": 10
              },
              "received_events_url": {
                "type": "string",
                "title": "Received Events Url",
                "order": 11
              },
              "repos_url": {
                "type": "string",
                "title": "Repos Url",
                "order": 12
              },
              "site_admin": {
                "type": "boolean",
                "title": "Site Admin",
                "order": 13
              },
              "starred_url": {
                "type": "string",
                "title": "Starred Url",
                "order": 14
              },
              "subscriptions_url": {
                "type": "string",
                "title": "Subscriptions Url",
                "order": 15
              },
              "type": {
                "type": "string",
                "title": "Type",
                "order": 16
              },
              "url": {
                "type": "string",
                "title": "Url",
                "order": 17
              }
            }
          },
          "label": {
            "type": "object",
            "title": "label",
            "properties": {
              "color": {
                "type": "string",
                "title": "Color",
                "order": 1
              },
              "default": {
                "type": "boolean",
                "title": "Default",
                "order": 2
              },
              "id": {
                "type": "integer",
                "title": "Id",
                "order": 3
              },
              "name": {
                "type": "string",
                "title": "Name",
                "order": 4
              },
              "url": {
                "type": "string",
                "title": "Url",
                "order": 5
              }
            }
          },
          "milestone": {
            "type": "object",
            "title": "milestone",
            "properties": {
              "closed_at": {
                "type": "string",
                "title": "Closed At",
                "order": 1
              },
              "closed_issues": {
                "type": "integer",
                "title": "Closed Issues",
                "order": 2
              },
              "created_at": {
                "type": "string",
                "title": "Created At",
                "order": 3
              },
              "creator": {
                "$ref": "#/definitions/assignee",
                "title": "Creator",
                "order": 4
              },
              "description": {
                "type": "string",
                "title": "Description",
                "order": 5
              },
              "due_on": {
                "type": "string",
                "title": "Due On",
                "order": 6
              },
              "html_url": {
                "type": "string",
                "title": "Html Url",
                "order": 7
              },
              "id": {
                "type": "integer",
                "title": "Id",
                "order": 8
              },
              "labels_url": {
                "type": "string",
                "title": "Labels Url",
                "order": 9
              },
              "number": {
                "type": "integer",
                "title": "Number",
                "order": 10
              },
              "open_issues": {
                "type": "integer",
                "title": "Open Issues",
                "order": 11
              },
              "state": {
                "type": "string",
                "title": "State",
                "order": 12
              },
              "title": {
                "type": "string",
                "title": "Title",
                "order": 13
              },
              "updated_at": {
                "type": "string",
                "title": "Updated At",
                "order": 14
              },
              "url": {
                "type": "string",
                "title": "Url",
                "order": 15
              }
            },
            "definitions": {
              "assignee": {
                "type": "object",
                "title": "assignee",
                "properties": {
                  "avatar_url": {
                    "type": "string",
                    "title": "Avatar Url",
                    "order": 1
                  },
                  "events_url": {
                    "type": "string",
                    "title": "Events Url",
                    "order": 2
                  },
                  "followers_url": {
                    "type": "string",
                    "title": "Followers Url",
                    "order": 3
                  },
                  "following_url": {
                    "type": "string",
                    "title": "Following Url",
                    "order": 4
                  },
                  "gists_url": {
                    "type": "string",
                    "title": "Gists Url",
                    "order": 5
                  },
                  "gravatar_id": {
                    "type": "string",
                    "title": "Gravatar Id",
                    "order": 6
                  },
                  "html_url": {
                    "type": "string",
                    "title": "Html Url",
                    "order": 7
                  },
                  "id": {
                    "type": "integer",
                    "title": "Id",
                    "order": 8
                  },
                  "login": {
                    "type": "string",
                    "title": "Login",
                    "order": 9
                  },
                  "organizations_url": {
                    "type": "string",
                    "title": "Organizations Url",
                    "order": 10
                  },
                  "received_events_url": {
                    "type": "string",
                    "title": "Received Events Url",
                    "order": 11
                  },
                  "repos_url": {
                    "type": "string",
                    "title": "Repos Url",
                    "order": 12
                  },
                  "site_admin": {
                    "type": "boolean",
                    "title": "Site Admin",
                    "order": 13
                  },
                  "starred_url": {
                    "type": "string",
                    "title": "Starred Url",
                    "order": 14
                  },
                  "subscriptions_url": {
                    "type": "string",
                    "title": "Subscriptions Url",
                    "order": 15
                  },
                  "type": {
                    "type": "string",
                    "title": "Type",
                    "order": 16
                  },
                  "url": {
                    "type": "string",
                    "title": "Url",
                    "order": 17
                  }
                }
              }
            }
          },
          "pull_request": {
            "type": "object",
            "title": "pull_request",
            "properties": {
              "diff_url": {
                "type": "string",
                "title": "Diff Url",
                "order": 1
              },
              "html_url": {
                "type": "string",
                "title": "Html Url",
                "order": 2
              },
              "patch_url": {
                "type": "string",
                "title": "Patch Url",
                "order": 3
              },
              "url": {
                "type": "string",
                "title": "Url",
                "order": 4
              }
            }
          }
        }
      },
      "label": {
        "type": "object",
        "title": "label",
        "properties": {
          "color": {
            "type": "string",
            "title": "Color",
            "order": 1
          },
          "default": {
            "type": "boolean",
            "title": "Default",
            "order": 2
          },
          "id": {
            "type": "integer",
            "title": "Id",
            "order": 3
          },
          "name": {
            "type": "string",
            "title": "Name",
            "order": 4
          },
          "url": {
            "type": "string",
            "title": "Url",
            "order": 5
          }
        }
      },
      "milestone": {
        "type": "object",
        "title": "milestone",
        "properties": {
          "closed_at": {
            "type": "string",
            "title": "Closed At",
            "order": 1
          },
          "closed_issues": {
            "type": "integer",
            "title": "Closed Issues",
            "order": 2
          },
          "created_at": {
            "type": "string",
            "title": "Created At",
            "order": 3
          },
          "creator": {
            "$ref": "#/definitions/assignee",
            "title": "Creator",
            "order": 4
          },
          "description": {
            "type": "string",
            "title": "Description",
            "order": 5
          },
          "due_on": {
            "type": "string",
            "title": "Due On",
            "order": 6
          },
          "html_url": {
            "type": "string",
            "title": "Html Url",
            "order": 7
          },
          "id": {
            "type": "integer",
            "title": "Id",
            "order": 8
          },
          "labels_url": {
            "type": "string",
            "title": "Labels Url",
            "order": 9
          },
          "number": {
            "type": "integer",
            "title": "Number",
            "order": 10
          },
          "open_issues": {
            "type": "integer",
            "title": "Open Issues",
            "order": 11
          },
          "state": {
            "type": "string",
            "title": "State",
            "order": 12
          },
          "title": {
            "type": "string",
            "title": "Title",
            "order": 13
          },
          "updated_at": {
            "type": "string",
            "title": "Updated At",
            "order": 14
          },
          "url": {
            "type": "string",
            "title": "Url",
            "order": 15
          }
        },
        "definitions": {
          "assignee": {
            "type": "object",
            "title": "assignee",
            "properties": {
              "avatar_url": {
                "type": "string",
                "title": "Avatar Url",
                "order": 1
              },
              "events_url": {
                "type": "string",
                "title": "Events Url",
                "order": 2
              },
              "followers_url": {
                "type": "string",
                "title": "Followers Url",
                "order": 3
              },
              "following_url": {
                "type": "string",
                "title": "Following Url",
                "order": 4
              },
              "gists_url": {
                "type": "string",
                "title": "Gists Url",
                "order": 5
              },
              "gravatar_id": {
                "type": "string",
                "title": "Gravatar Id",
                "order": 6
              },
              "html_url": {
                "type": "string",
                "title": "Html Url",
                "order": 7
              },
              "id": {
                "type": "integer",
                "title": "Id",
                "order": 8
              },
              "login": {
                "type": "string",
                "title": "Login",
                "order": 9
              },
              "organizations_url": {
                "type": "string",
                "title": "Organizations Url",
                "order": 10
              },
              "received_events_url": {
                "type": "string",
                "title": "Received Events Url",
                "order": 11
              },
              "repos_url": {
                "type": "string",
                "title": "Repos Url",
                "order": 12
              },
              "site_admin": {
                "type": "boolean",
                "title": "Site Admin",
                "order": 13
              },
              "starred_url": {
                "type": "string",
                "title": "Starred Url",
                "order": 14
              },
              "subscriptions_url": {
                "type": "string",
                "title": "Subscriptions Url",
                "order": 15
              },
              "type": {
                "type": "string",
                "title": "Type",
                "order": 16
              },
              "url": {
                "type": "string",
                "title": "Url",
                "order": 17
              }
            }
          }
        }
      },
      "pull_request": {
        "type": "object",
        "title": "pull_request",
        "properties": {
          "diff_url": {
            "type": "string",
            "title": "Diff Url",
            "order": 1
          },
          "html_url": {
            "type": "string",
            "title": "Html Url",
            "order": 2
          },
          "patch_url": {
            "type": "string",
            "title": "Patch Url",
            "order": 3
          },
          "url": {
            "type": "string",
            "title": "Url",
            "order": 4
          }
        }
      }
    }
  }
      """)
  
      def __init__(self):
          super(self.__class__, self).__init__(self.schema)
  