docs: def create_lease_object_from_subnet(self, subnet):
          """
          Create a lease from ip in a dotted decimal format,
          (for example `192.168.200.0/24`). the _cidr will be added if not exist
          in `subnet`.
  
          Args:
              subnet (str): The value of the third octet
  
          Returns:
              Lease: Lease object which represents the requested subnet.
  
          Raises:
              LagoSubnetLeaseOutOfRangeException: If the resultant subnet is
              malformed or out of the range of the store.
          """
          if '/' not in subnet:
              subnet = '{}/{}'.format(subnet, self._cidr)
  
          try:
              if not self.is_leasable_subnet(subnet):
                  raise LagoSubnetLeaseOutOfRangeException(
                      subnet, self.get_allowed_range()
                  )
          except AddrFormatError:
              raise LagoSubnetLeaseMalformedAddrException(subnet)
  
          return Lease(store_path=self.path, subnet=subnet)