code: def create(self, name=None, **kwargs):
          
          obj = self.client.api.create_volume(name, **kwargs)
          return self.prepare_model(obj)
docs: Create a volume.
  
          Args:
              name (str): Name of the volume.  If not specified, the engine
                  generates a name.
              driver (str): Name of the driver used to create the volume
              driver_opts (dict): Driver options as a key-value dictionary
              labels (dict): Labels to set on the volume
  
          Returns:
              (:py:class:`Volume`): The volume created.
  
          Raises:
              :py:class:`docker.errors.APIError`
                  If the server returns an error.
  
          Example:
  
              >>> volume = client.volumes.create(name='foobar', driver='local',
                      driver_opts={'foo': 'bar', 'baz': 'false'},
                      labels={"key": "value"})