code: def deploy(self, package=None):
          
          if package is None:
              package = deployment_package.default()
          package.deploy()
          if self.proper_name in installed_functions():
              self.update(package)
          else:
              self.install(package)
docs: If package is none, use `deployment_package.default()`