File size: 825 Bytes
f93d5f5
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class Skill:
    def __init__(self, repo_id, skill_name, skill_description, author, created_at, skill_usage_example, skill_program_language, skill_tags):
        self.repo_id = repo_id
        self.skill_name = skill_name
        self.skill_description = skill_description
        self.author = author
        self.created_at = created_at
        self.skill_usage_example = skill_usage_example
        self.skill_program_language = skill_program_language
        self.skill_tags = skill_tags

    def __str__(self) -> str:
        return f"Skill: repo_id: {self.repo_id}, name: {self.skill_name}, description: {self.skill_description}, author: {self.author}, created_at: {self.created_at}, skill_usage_example: {self.skill_usage_example}, skill_program_language: {self.skill_program_language}, skill_tags: {self.skill_tags}"