def from_version(self, version, require_https=False):
        """
        Create a Hive object based on the information in the object
        and the version passed into the method.
        """
        if version is None or self.version() == version:
            return self
        else:
            return Hive.from_url(self.get_version_url(version), require_https=require_https)
Create a Hive object based on the information in the object
        and the version passed into the method.