Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,110 for elseif (0.2 sec)

  1. common/config/.golangci.yml

          - commentedOutCode
          - commentedOutImport
          - defaultCaseOrder
          - deprecatedComment
          - docStub
          - dupArg
          - dupBranchBody
          - dupCase
          - dupSubExpr
          - elseif
          - emptyFallthrough
          - equalFold
          - flagDeref
          - flagName
          - hexLiteral
          - indexAlloc
          - initClause
          - methodExprCall
          - nilValReturn
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 19:22:39 GMT 2024
    - 11K bytes
    - Viewed (0)
  2. fastapi/dependencies/utils.py

            dependant.request_param_name = param_name
            return True
        elif lenient_issubclass(type_annotation, WebSocket):
            dependant.websocket_param_name = param_name
            return True
        elif lenient_issubclass(type_annotation, HTTPConnection):
            dependant.http_connection_param_name = param_name
            return True
        elif lenient_issubclass(type_annotation, Response):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:52:56 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  3. common/scripts/setup_env.sh

        # Target explicitly set
        :
    elif [[ ${LOCAL_ARCH} == x86_64 ]]; then
        TARGET_ARCH=amd64
    elif [[ ${LOCAL_ARCH} == armv8* ]]; then
        TARGET_ARCH=arm64
    elif [[ ${LOCAL_ARCH} == arm64* ]]; then
        TARGET_ARCH=arm64
    elif [[ ${LOCAL_ARCH} == aarch64* ]]; then
        TARGET_ARCH=arm64
    elif [[ ${LOCAL_ARCH} == armv* ]]; then
        TARGET_ARCH=arm
    elif [[ ${LOCAL_ARCH} == s390x ]]; then
        TARGET_ARCH=s390x
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 19:52:28 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  4. configure.py

        if user_input == 'y':
          print(yes_reply)
          var = True
        elif user_input == 'n':
          print(no_reply)
          var = False
        elif not user_input:
          if enabled_by_default:
            print(yes_reply)
            var = True
          else:
            print(no_reply)
            var = False
        else:
          print('Invalid selection: {}'.format(user_input_origin))
      return var
    
    
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  5. ci/official/any.sh

      export TFCI="$TFCI,$TF_ANY_EXTRA_ENV"
    fi
    if [[ -n "${TF_ANY_SCRIPT:-}" ]]; then
      "$TF_ANY_SCRIPT"
    elif [[ -n "${TF_ANY_TARGETS:-}" ]]; then
      source "${BASH_SOURCE%/*}/utilities/setup.sh"
      tfrun bazel "${TF_ANY_MODE:-test}" $TFCI_BAZEL_COMMON_ARGS $TF_ANY_TARGETS
    else
      echo 'Looks like $TF_ANY_TARGETS are $TF_ANY_SCRIPT are both empty. That is an error.'
      exit 1
    Shell Script
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 2.1K bytes
    - Viewed (1)
  6. fastapi/utils.py

            field_info = field_info or FieldInfo(
                annotation=type_, default=default, alias=alias
            )
        else:
            field_info = field_info or FieldInfo()
        kwargs = {"name": name, "field_info": field_info}
        if PYDANTIC_V2:
            kwargs.update({"mode": mode})
        else:
            kwargs.update(
                {
                    "type_": type_,
                    "class_validators": class_validators,
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  7. fastapi/_compat.py

                        errors=[error], model=RequestErrorModel
                    ).errors()
                    use_errors.extend(new_errors)
                elif isinstance(error, list):
                    use_errors.extend(_normalize_errors(error))
                else:
                    use_errors.append(error)
            return use_errors
    
        def _model_rebuild(model: Type[BaseModel]) -> None:
            model.update_forward_refs()
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  8. helm-releases/minio-5.1.0.tgz

    [ ! -z $OBJECTLOCKING ]; then if [ $OBJECTLOCKING = true ]; then echo "Creating bucket with OBJECTLOCKING '$BUCKET'" ${MC} mb --with-lock myminio/$BUCKET elif [ $OBJECTLOCKING = false ]; then echo "Creating bucket '$BUCKET'" ${MC} mb myminio/$BUCKET fi elif [ -z $OBJECTLOCKING ]; then echo "Creating bucket '$BUCKET'" ${MC} mb myminio/$BUCKET else echo "Bucket '$BUCKET' already exists." fi fi # set versioning for bucket if objectlocking is disabled or not set if [ $OBJECTLOCKING = false ]; then if...
    Others
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 03 18:49:37 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  9. helm-releases/minio-5.2.0.tgz

    [ ! -z $OBJECTLOCKING ]; then if [ $OBJECTLOCKING = true ]; then echo "Creating bucket with OBJECTLOCKING '$BUCKET'" ${MC} mb --with-lock myminio/$BUCKET elif [ $OBJECTLOCKING = false ]; then echo "Creating bucket '$BUCKET'" ${MC} mb myminio/$BUCKET fi elif [ -z $OBJECTLOCKING ]; then echo "Creating bucket '$BUCKET'" ${MC} mb myminio/$BUCKET else echo "Bucket '$BUCKET' already exists." fi fi # set versioning for bucket if objectlocking is disabled or not set if [ $OBJECTLOCKING = false ]; then if...
    Others
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  10. fastapi/openapi/utils.py

            if field_info.description:
                parameter["description"] = field_info.description
            if field_info.openapi_examples:
                parameter["examples"] = jsonable_encoder(field_info.openapi_examples)
            elif field_info.example != Undefined:
                parameter["example"] = jsonable_encoder(field_info.example)
            if field_info.deprecated:
                parameter["deprecated"] = True
            parameters.append(parameter)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 21.8K bytes
    - Viewed (0)
Back to top