nbproject.dev.set_version#

nbproject.dev.set_version(version=None, stored_version=None)#

(Auto-) set version.

If version is None, returns the stored version. Otherwise sets the version to the passed version.

Parameters:
  • version (Optional[str], default: None) – Version string.

  • stored_version (Optional[str], default: None) – Mock stored version for testing purposes.