original_docstring: 
      Uploads images and creates a public albumb of the memes.
      
docstring: Uploads images and creates a public albumb of the memes.
docstring_tokens: Uploads images and creates a public albumb of the memes .
code: def post_to_imgur(imgur: ImgurClient, config: configparser, dir: str, memes: Memes) -> str:
      """
      Uploads images and creates a public albumb of the memes.
      """
  
      # Upload images
      image_ids: List[str] = []
      for meme in memes:
          response = imgur.upload_from_path(
              path=os.path.join(dir, meme),
              config=None,
              anon=False
          )
          image_ids.append(response["id"])
  
      # Create album
      ymd = str(date.today())
      title = config.get("daily-memes", "imgur_album_title_prefix")
      desc = config.get("daily-memes", "imgur_album_desc")
      album = imgur.create_album({
          "title": f"{title} {ymd}",
          "desc": desc,
          "ids": ",".join(image_ids),
          "privacy": "public"
      })
      return album["id"]
code_tokens: def post_to_imgur ( imgur : ImgurClient , config : configparser , dir : str , memes : Memes ) -> str : image_ids : List [ str ] = [ ] for meme in memes : response = imgur . upload_from_path ( path = os . path . join ( dir , meme ) , config = None , anon = False ) image_ids . append ( response [ "id" ] ) ymd = str ( date . today ( ) ) title = config . get ( "daily-memes" , "imgur_album_title_prefix" ) desc = config . get ( "daily-memes" , "imgur_album_desc" ) album = imgur . create_album ( { "title" : f"{title} {ymd}" , "desc" : desc , "ids" : "," . join ( image_ids ) , "privacy" : "public" } ) return album [ "id" ]
short_docstring: Uploads images and creates a public albumb of the memes.
short_docstring_tokens: Uploads images and creates a public albumb of the memes .
comment: """
      Uploads images and creates a public albumb of the memes.
      """$SEP$# Upload images$SEP$# Create album