code: def visit_create_library_command(element, compiler, **kw):
      
      query = """
          CREATE {or_replace} LIBRARY {name}
          LANGUAGE pythonplu
          FROM :location
          WITH CREDENTIALS AS :credentials
          {region}
      """
      bindparams = [
          sa.bindparam(
              'location',
              value=element.location,
              type_=sa.String,
          ),
          sa.bindparam(
              'credentials',
              value=element.credentials,
              type_=sa.String,
          ),
      ]
  
      if element.region is not None:
          bindparams.append(sa.bindparam(
              'region',
              value=element.region,
              type_=sa.String,
          ))
  
      quoted_lib_name = compiler.preparer.quote_identifier(element.library_name)
      query = query.format(name=quoted_lib_name,
                           or_replace='OR REPLACE' if element.replace else '',
                           region='REGION :region' if element.region else '')
      return compiler.process(sa.text(query).bindparams(*bindparams), **kw)
docs: Returns the actual sql query for the CreateLibraryCommand class.