INNER CODE UNIT · Python

add_tag

AnsahMohammad/shots-studio · legacy/web/core.py:43

    def add_tag(self, tag: str):
        self.tags.append(tag)
        self.update_metadata()
    
    def add_tags(self, tags: list):
        for tag in tags:
            if tag not in self.tags:
                self.tags.append(tag)
        self.update_metadata()

    def get_tags(self):
        return self.tags
    
    def set_description(self, description: str):
        self.description = description
        self.update_metadata()
    
    def get_description(self):

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…