docs: def create(cls, location=None, storage_class=None, **kwargs):
          r"""Create a bucket.
  
          :param location: Location of a bucket (instance or name).
              Default: Default location.
          :param storage_class: Storage class of a bucket.
              Default: Default storage class.
          :param \**kwargs: Keyword arguments are forwarded to the class
          :param \**kwargs: Keyword arguments are forwarded to the class
              constructor.
          :returns: Created bucket.
          """
          with db.session.begin_nested():
              if location is None:
                  location = Location.get_default()
              elif isinstance(location, six.string_types):
                  location = Location.get_by_name(location)
  
              obj = cls(
                  default_location=location.id,
                  default_storage_class=storage_class or current_app.config[
                      'FILES_REST_DEFAULT_STORAGE_CLASS'],
                  **kwargs
              )
              db.session.add(obj)
          return obj