Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 802 Bytes

LocalThreadServer.save.md

File metadata and controls

31 lines (19 loc) · 802 Bytes

LocalThreadServer.save (function)

def save(self, name=None, overwrite=False)

Save this server configuration to ~/.crimpl to be loaded again via crimpl.load_server.

Note that this saves everything in LocalThreadServer.to_dict to disk in ASCII.

Arguments

  • name (string, optional, default=None): name of the server. Will default to LocalThreadServer.server_name if set.
  • overwrite (bool, optional, default=False): whether to overwrite an existing saved configuration for name.

Returns

  • (string): path to the saved ascii file

Raises

  • ValueError: if name is already saved but overwrite is not passed as True