Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 601 - 610 of 1,756 for named (0.02 seconds)

  1. tests/test_response_model_as_return_annotation.py

    
    class BaseUser(BaseModel):
        name: str
    
    
    class User(BaseUser):
        surname: str
    
    
    class DBUser(User):
        password_hash: str
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    app = FastAPI()
    
    
    @app.get("/no_response_model-no_annotation-return_model")
    def no_response_model_no_annotation_return_model():
        return User(name="John", surname="Doe")
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 47.7K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_dataclasses/test_tutorial003.py

        response = client.post(
            "/authors/foo/items/",
            json=[{"name": "Bar"}, {"name": "Baz", "description": "Drop the Baz"}],
        )
        assert response.status_code == 200
        assert response.json() == {
            "name": "foo",
            "items": [
                {"name": "Bar", "description": None},
                {"name": "Baz", "description": "Drop the Baz"},
            ],
        }
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  3. cmd/bucket-replication.go

    			Object: ObjectInfo{
    				Bucket:       bucket,
    				Name:         dobj.ObjectName,
    				VersionID:    versionID,
    				DeleteMarker: dobj.DeleteMarker,
    			},
    			UserAgent: "Internal: [Replication]",
    			Host:      globalLocalNodeName,
    			EventName: event.ObjectReplicationNotTracked,
    		})
    		return
    	}
    
    	// Lock the object name before starting replication operation.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
  4. tests/customize_field_test.go

    	}
    
    	generateStruct := func(name string) *CustomizeFieldStruct {
    		return &CustomizeFieldStruct{
    			Name:             name,
    			FieldAllowCreate: name + "_allow_create",
    			FieldAllowUpdate: name + "_allow_update",
    			FieldAllowSave:   name + "_allow_save",
    			FieldAllowSave2:  name + "_allow_save2",
    			FieldAllowSave3:  name + "_allow_save3",
    			FieldReadonly:    name + "_allow_readonly",
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 11 09:33:31 GMT 2020
    - 6.9K bytes
    - Click Count (0)
  5. tensorflow/c/eager/BUILD

        ],
    )
    
    cc_library(
        name = "abstract_op_attrs",
        hdrs = ["abstract_op_attrs.h"],
        visibility = [
            "//tensorflow:internal",
        ],
        deps = [
            "//tensorflow/core:lib",
            "//tensorflow/core:protos_all_cc",
            "@com_google_absl//absl/container:inlined_vector",
        ],
    )
    
    cc_library(
        name = "abstract_operation",
        hdrs = ["abstract_operation.h"],
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Apr 14 23:08:27 GMT 2025
    - 33.3K bytes
    - Click Count (0)
  6. tests/test_tutorial/test_sql_databases/test_tutorial002.py

                "/heroes/", json={"name": "Rusty-Man", "secret_name": "Tommy Sharp"}
            )
            assert response.status_code == 200, response.text
    
            response = client.get("/heroes/")
            assert response.status_code == 200, response.text
            assert response.json() == snapshot(
                [
                    {"name": "Dead Pond", "age": 30, "id": IsInt()},
                    {"name": "Spider-Boy", "age": 18, "id": IsInt()},
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  7. .github/workflows/test.yml

        runs-on: ${{ matrix.os }}
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v6
          - name: Set up Python
            uses: actions/setup-python@v6
            with:
              python-version: ${{ matrix.python-version }}
          - name: Setup uv
            uses: astral-sh/setup-uv@v7
            with:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 08:53:59 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  8. tests/delete_test.go

    	if DB.Dialector.Name() != "sqlite" && DB.Dialector.Name() != "postgres" && DB.Dialector.Name() != "gaussdb" && DB.Dialector.Name() != "sqlserver" {
    		return
    	}
    
    	companies := []Company{
    		{Name: "delete-returning-1"},
    		{Name: "delete-returning-2"},
    		{Name: "delete-returning-3"},
    	}
    	DB.Create(&companies)
    
    	var results []Company
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/Lifecycles.java

        static Lifecycle.Phase phase(String name) {
            return new DefaultPhase(name, Collections.emptyList(), Collections.emptyList(), Collections.emptyList());
        }
    
        static Lifecycle.Phase phase(String name, Lifecycle.Phase... phases) {
            return new DefaultPhase(name, Collections.emptyList(), Collections.emptyList(), asList(phases));
        }
    
        static Lifecycle.Phase phase(String name, Lifecycle.Link link, Lifecycle.Phase... phases) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 28 15:21:19 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  10. src/cmd/asm/internal/asm/testdata/loong64enc2.s

    	// relocation instructions
    	MOVW	R4, name(SB)		// 1e00001ac4038029
    	MOVWU	R4, name(SB)		// 1e00001ac4038029
    	MOVV	R4, name(SB)		// 1e00001ac403c029
    	MOVB	R4, name(SB)		// 1e00001ac4030029
    	MOVBU	R4, name(SB)		// 1e00001ac4030029
    	MOVF	F4, name(SB)		// 1e00001ac403402b
    	MOVD	F4, name(SB)		// 1e00001ac403c02b
    	MOVW	name(SB), R4		// 1e00001ac4038028
    	MOVWU	name(SB), R4		// 1e00001ac403802a
    	MOVV	name(SB), R4		// 1e00001ac403c028
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Nov 27 00:46:52 GMT 2025
    - 5.6K bytes
    - Click Count (0)
Back to Top