docstr: Returns a set of all distinct paths of files that styles are loaded from.
docstr_tok: ["Returns","a","set","of","all","distinct","paths","of","files","that","styles","are","loaded","from","."]
code: def get_style_paths(self) -> set:
      """Returns a set of all distinct paths of files that styles are loaded from."""
      # Update any styles without a path to the default path
      for style in list(self.styles.values()):
          if not style.path:
              self.styles[style.name] = style._replace(
                  path=self.default_path
              )
  
      # Create a list of all distinct paths, including the default path
      style_paths = set()
      style_paths.add(self.default_path)
      for _, style in self.styles.items():
          if style.path:
              style_paths.add(style.path)
  
      # Remove any paths for styles that are just list dividers
      style_paths.discard("do_not_save")
  
      return style_paths
  
imports: import csv
  import fnmatch
  import os
  import os.path
  import typing
  import shutil
label_desc: Use image node_id 4 for calling the StyleDatabase obj's underlying member method code with example usage: obj.get_style_paths() and returns: style_paths