code: def from_prefix(cls, container, prefix):
          
          if cls._is_gs_folder(prefix):
              name, suffix, extra = prefix.name.partition(cls._gs_folder_suffix)
              if (suffix, extra) == (cls._gs_folder_suffix, ''):
                  # Patch GS specific folder to remove suffix.
                  prefix.name = name
  
          return super(GsObject, cls).from_prefix(container, prefix)
docs: Create from prefix object.