Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 336 for literal (0.16 sec)

  1. docs_src/query_param_models/tutorial002_pv1.py

    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    from typing_extensions import Literal
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        class Config:
            extra = "forbid"
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: List[str] = []
    
    
    @app.get("/items/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 501 bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/text/Tokenizer.java

         *
         * @param str
         *            文字列。{@literal null}であってはいけません
         */
        public Tokenizer(final String str) {
            this(str, defaultCtype);
        }
    
        /**
         * {@link Tokenizer}を作成します。
         *
         * @param str
         *            文字列。{@literal null}であってはいけません
         * @param ctype
         *            文字のタイプの配列。{@literal null}や空配列であってはいけません
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/xml/DocumentBuilderUtil.java

     *
     * @author higa
     */
    public abstract class DocumentBuilderUtil {
    
        /**
         * XMLを解析します。
         *
         * @param builder
         *            {@link DocumentBuilder}。{@literal null}であってはいけません
         * @param is
         *            入力ストリーム。{@literal null}であってはいけません
         * @return {@link Document}
         */
        public static Document parse(final DocumentBuilder builder, final InputStream is) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. scripts/label_approved.py

    import logging
    from typing import Literal
    
    from github import Github
    from github.PullRequestReview import PullRequestReview
    from pydantic import BaseModel, SecretStr
    from pydantic_settings import BaseSettings
    
    
    class LabelSettings(BaseModel):
        await_label: str | None = None
        number: int
    
    
    default_config = {"approved-2": LabelSettings(await_label="awaiting-review", number=2)}
    
    
    class Settings(BaseSettings):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 13:58:30 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. doc/go1.17_spec.html

    The types of the elements and keys must be <a href="#Assignability">assignable</a>
    to the respective field, element, and key types of the literal type;
    there is no additional conversion.
    The key is interpreted as a field name for struct literals,
    an index for array and slice literals, and a key for map literals.
    For map literals, all elements must have a key. It is an error
    to specify multiple elements with the same field name or
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/convert/BooleanConversionUtil.java

                    return Boolean.TRUE;
                }
            } else {
                return Boolean.TRUE;
            }
        }
    
        /**
         * {@literal boolean}に変換します。
         *
         * @param o
         *            変換元のオブジェクト
         * @return 変換された{@literal boolean}
         */
        public static boolean toPrimitiveBoolean(final Object o) {
            final Boolean b = toBoolean(o);
            if (b != null) {
                return b;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. fastapi/_compat.py

            model_name_map: ModelNameMap,
            field_mapping: Dict[
                Tuple[ModelField, Literal["validation", "serialization"]], JsonSchemaValue
            ],
            separate_input_output_schemas: bool = True,
        ) -> Dict[str, Any]:
            override_mode: Union[Literal["validation"], None] = (
                None if separate_input_output_schemas else "validation"
            )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:36:32 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/net/HostAndPort.java

       * Generate an error if the host might be a non-bracketed IPv6 literal.
       *
       * <p>URI formatting requires that IPv6 literals be surrounded by brackets, like "[2001:db8::1]".
       * Chain this call after {@link #fromString(String)} to increase the strictness of the parser, and
       * disallow IPv6 literals that don't contain these brackets.
       *
       * <p>Note that this parser identifies IPv6 literals solely based on the presence of a colon. To
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 22:02:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/impl/ParameterizedClassDescImpl.java

         *
         * @param rawClass
         *            原型となるクラス。{@literal null}であってはいけません
         */
        public ParameterizedClassDescImpl(final Class<?> rawClass) {
            assertArgumentNotNull("rawClass", rawClass);
    
            this.rawClass = rawClass;
        }
    
        /**
         * インスタンスを構築します。
         *
         * @param rawClass
         *            原型となるクラス。{@literal null}であってはいけません
         * @param arguments
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. internal/s3select/sql/parser.go

    // Types with custom Capture interface for parsing
    
    // Boolean is a type for a parsed Boolean literal
    type Boolean bool
    
    // Capture interface used by participle
    func (b *Boolean) Capture(values []string) error {
    	*b = Boolean(strings.EqualFold(values[0], "true"))
    	return nil
    }
    
    // LiteralString is a type for parsed SQL string literals
    type LiteralString string
    
    // Capture interface used by participle
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
Back to top