Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 131 for age (0.03 seconds)

  1. docs/zh/docs/python-types.md

    下面是一个已经有类型提示的函数:
    
    {* ../../docs_src/python_types/tutorial003.py hl[1] *}
    
    
    因为编辑器已经知道了这些变量的类型,所以不仅能对代码进行补全,还能检查其中的错误:
    
    <img src="https://fastapi.tiangolo.com/img/python-types/image04.png">
    
    现在你知道了必须先修复这个问题,通过 `str(age)` 把 `age` 转换成字符串:
    
    {* ../../docs_src/python_types/tutorial004.py hl[2] *}
    
    
    ## 声明类型
    
    你刚刚看到的就是声明类型提示的主要场景。用于函数的参数。
    
    这也是你将在 **FastAPI** 中使用它们的主要场景。
    
    ### 简单类型
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Aug 18 06:34:40 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  2. docs/en/docs/python-types.md

    Because the editor knows the types of the variables, you don't only get completion, you also get error checks:
    
    <img src="/img/python-types/image04.png">
    
    Now you know that you have to fix it, convert `age` to a string with `str(age)`:
    
    {* ../../docs_src/python_types/tutorial004_py39.py hl[2] *}
    
    ## Declaring types { #declaring-types }
    
    You just saw the main place to declare type hints. As function parameters.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  3. docs/ko/docs/python-types.md

    {* ../../docs_src/python_types/tutorial003.py hl[1] *}
    
    
    편집기가 변수의 타입을 알고 있기 때문에, 자동완성 뿐 아니라 에러도 확인할 수 있습니다:
    
    <img src="/img/python-types/image04.png">
    
    이제 고쳐야하는 걸 알기 때문에, `age`를 `str(age)`과 같이 문자열로 바꾸게 됩니다:
    
    {* ../../docs_src/python_types/tutorial004.py hl[2] *}
    
    
    ## 타입 선언
    
    방금 함수의 매개변수로써 타입 힌트를 선언하는 주요 장소를 보았습니다.
    
    이 위치는 여러분이 **FastAPI**와 함께 이를 사용하는 주요 장소입니다.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 10.2K bytes
    - Click Count (0)
  4. docs/features/interceptors.md

      @Override public Response intercept(Interceptor.Chain chain) throws IOException {
        Response originalResponse = chain.proceed(chain.request());
        return originalResponse.newBuilder()
            .header("Cache-Control", "max-age=60")
            .build();
      }
    };
    ```
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 8.1K bytes
    - Click Count (0)
  5. internal/s3select/sql/analysis.go

    // row. They have an output for each input row.
    //
    // Some types of a queries are not valid. For example, an aggregation
    // function combined with a row function is meaningless ("AVG(s.Age) +
    // s.Salary"). Analysis determines if such a scenario exists so an
    // error can be returned.
    
    var (
    	// Fatal error for query processing.
    	errNestedAggregation      = errors.New("Cannot nest aggregations")
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  6. docs/pt/docs/python-types.md

    <img src="/img/python-types/image04.png">
    
    Agora você sabe que precisa corrigí-lo, converta `age` em uma string com `str(age)`:
    
    {* ../../docs_src/python_types/tutorial004_py39.py hl[2] *}
    
    ## Declarando Tipos { #declaring-types }
    
    Você acabou de ver o local principal para declarar type hints. Como parâmetros de função.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  7. docs/es/docs/python-types.md

    Porque el editor conoce los tipos de las variables, no solo obtienes autocompletado, también obtienes chequeo de errores:
    
    <img src="/img/python-types/image04.png">
    
    Ahora sabes que debes corregirlo, convertir `age` a un string con `str(age)`:
    
    {* ../../docs_src/python_types/tutorial004_py39.py hl[2] *}
    
    ## Declaración de tipos { #declaring-types }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 16.4K bytes
    - Click Count (1)
  8. guava-tests/test/com/google/common/graph/TraverserTest.java

        assertEqualCharNodes(traverser.breadthFirst(charactersOf("h")), "hdegabcf");
        assertEqualCharNodes(traverser.breadthFirst(charactersOf("gd")), "gdfabc");
        assertEqualCharNodes(traverser.breadthFirst(charactersOf("age")), "agef");
      }
    
      @Test
      public void forTree_breadthFirst_cyclicGraphContainingTree() throws Exception {
        Traverser<Character> traverser = Traverser.forTree(CYCLIC_GRAPH_CONTAINING_TREE);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 47.4K bytes
    - Click Count (2)
  9. docs/ja/docs/python-types.md

    この関数を見てください。すでに型ヒントを持っています:
    
    {* ../../docs_src/python_types/tutorial003.py hl[1] *}
    
    
    エディタは変数の型を知っているので、補完だけでなく、エラーチェックをすることもできます。
    
    <img src="https://fastapi.tiangolo.com/img/python-types/image04.png">
    
    これで`age`を`str(age)`で文字列に変換して修正する必要があることがわかります:
    
    {* ../../docs_src/python_types/tutorial004.py hl[2] *}
    
    
    ## 型の宣言
    
    関数のパラメータとして、型ヒントを宣言している主な場所を確認しました。
    
    これは **FastAPI** で使用する主な場所でもあります。
    
    ### 単純な型
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 11.6K bytes
    - Click Count (0)
  10. gorm.go

    		return err
    	}
    	db.Plugins[name] = plugin
    	return nil
    }
    
    // ToSQL for generate SQL string.
    //
    //	db.ToSQL(func(tx *gorm.DB) *gorm.DB {
    //			return tx.Model(&User{}).Where(&User{Name: "foo", Age: 20})
    //				.Limit(10).Offset(5)
    //				.Order("name ASC")
    //				.First(&User{})
    //	})
    func (db *DB) ToSQL(queryFn func(tx *DB) *DB) string {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Aug 26 06:24:29 GMT 2025
    - 12.8K bytes
    - Click Count (0)
Back to Top