Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 167 for ages (0.03 sec)

  1. tests/test_response_model_include_exclude.py

    from pydantic import BaseModel
    
    
    class Model1(BaseModel):
        foo: str
        bar: str
    
    
    class Model2(BaseModel):
        ref: Model1
        baz: str
    
    
    class Model3(BaseModel):
        name: str
        age: int
        ref2: Model2
    
    
    app = FastAPI()
    
    
    @app.get(
        "/simple_include",
        response_model=Model2,
        response_model_include={"baz": ..., "ref": {"foo"}},
    )
    def simple_include():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 19 19:14:58 UTC 2021
    - 4K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/custom-docs-ui-assets.md

    {* ../../docs_src/custom_docs_ui/tutorial001.py hl[8] *}
    
    ### Include the custom docs
    
    Now you can create the *path operations* for the custom docs.
    
    You can reuse FastAPI's internal functions to create the HTML pages for the docs, and pass them the needed arguments:
    
    * `openapi_url`: the URL where the HTML page for the docs can get the OpenAPI schema for your API. You can use here the attribute `app.openapi_url`.
    * `title`: the title of your API.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:42:34 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. scripts/docs.py

            raise typer.Abort()
        typer.echo("Valid mkdocs.yml ✅")
    
    
    @app.command()
    def verify_non_translated() -> None:
        """
        Verify there are no files in the non translatable pages.
        """
        print("Verifying non translated pages")
        lang_paths = get_lang_paths()
        error_paths = []
        for lang in lang_paths:
            if lang.name == "en":
                continue
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 08 11:01:17 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  4. clause/set_test.go

    		"name": "jinzhu",
    		"age":  18,
    	})
    
    	assignments := []clause.Assignment(set)
    
    	sort.Slice(assignments, func(i, j int) bool {
    		return strings.Compare(assignments[i].Column.Name, assignments[j].Column.Name) > 0
    	})
    
    	if len(assignments) != 2 || assignments[0].Column.Name != "name" || assignments[0].Value.(string) != "jinzhu" || assignments[1].Column.Name != "age" || assignments[1].Value.(int) != 18 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  5. clause/select_test.go

    						clause.Expr{
    							SQL: "? as name",
    							Vars: []interface{}{
    								clause.Eq{
    									Column: clause.Column{Name: "age"},
    									Value:  18,
    								},
    							},
    						},
    					},
    				},
    			}, clause.From{}},
    			"SELECT `age` = ? as name FROM `users`",
    			[]interface{}{18},
    		},
    	}
    
    	for idx, result := range results {
    		t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Feb 18 01:06:43 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

            try {
                final ACE[] aces = file.getSecurity(resolveSids);
                if (aces != null) {
                    final Set<SID> sidAllowSet = new HashSet<>();
                    final Set<SID> sidDenySet = new HashSet<>();
                    for (final ACE ace : aces) {
                        if (logger.isDebugEnabled()) {
                            logger.debug("ACE:{}", ace);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 23 01:54:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. internal/s3select/sql/jsonpath_test.go

    		{"s.authorInfo.name", []interface{}{"Agatha Christie", "Isaac Asimov", "P. G. Wodehouse"}},
    		{"s.authorInfo.yearRange[0]", []interface{}{1890.0, 1920.0, 1881.0}},
    		{"s.publicationHistory[0].pages", []interface{}{256.0, 336.0, Missing{}}},
    	}
    	for i, tc := range cases {
    		t.Run(tc.str, func(t *testing.T) {
    			jp := JSONPath{}
    			err := p.ParseString(tc.str, &jp)
    			// fmt.Println(jp)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. src/main/resources/fess_indices/fess/en-ie/stopwords.txt

    # https://github.com/apache/lucene-solr/blob/master/lucene/analysis/common/src/resources/org/apache/lucene/analysis/ga/stopwords.txt
    a
    ach
    ag
    agus
    an
    aon
    ar
    arna
    as
    b'
    ba
    beirt
    bhúr
    caoga
    ceathair
    ceathrar
    chomh
    chtó
    chuig
    chun
    cois
    céad
    cúig
    cúigear
    d'
    daichead
    dar
    de
    deich
    deichniúr
    den
    dhá
    do
    don
    dtí
    dá
    dár
    dó
    faoi
    faoin
    faoina
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 19 06:31:02 UTC 2018
    - 685 bytes
    - Viewed (0)
  9. docs_src/sql_databases/tutorial002_py310.py

        name: str = Field(index=True)
        age: int | None = Field(default=None, index=True)
    
    
    class Hero(HeroBase, table=True):
        id: int | None = Field(default=None, primary_key=True)
        secret_name: str
    
    
    class HeroPublic(HeroBase):
        id: int
    
    
    class HeroCreate(HeroBase):
        secret_name: str
    
    
    class HeroUpdate(HeroBase):
        name: str | None = None
        age: int | None = None
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java

        /**
         * Context type
         */
        public static final int NEGO_CTX_ENC_TYPE = 0x2;
    
        /**
         * AES 128 CCM
         */
        public static final int CIPHER_AES128_CCM = 0x1;
    
        /**
         * AES 128 GCM
         */
        public static final int CIPHER_AES128_GCM = 0x2;
    
        private int[] ciphers;
    
    
        /**
         * 
         * @param config
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.2K bytes
    - Viewed (0)
Back to top