Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 181 for usaras (0.2 sec)

  1. maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

        }
    
        @Test
        void testReadModifiedPoms(@TempDir Path tempDir) throws Exception {
            // TODO a similar test should be created to test the dependency management (basically all usages
            // of DefaultModelBuilder.getCache() are affected by MNG-6530
    
            FileUtils.copyDirectory(new File("src/test/resources/projects/grandchild-check"), tempDir.toFile());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Nov 28 17:17:10 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Ordering.java

    /**
     * A comparator, with additional methods to support common operations. This is an "enriched" version
     * of {@code Comparator} for pre-Java-8 users, in the same sense that {@link FluentIterable} is an
     * enriched {@link Iterable} for pre-Java-8 users.
     *
     * <h3>Three types of methods</h3>
     *
     * Like other fluent types, there are three types of methods present: methods for <i>acquiring</i>,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_sql_databases/test_sql_databases_middleware.py

    @needs_pydanticv1
    def test_get_users(client):
        response = client.get("/users/")
        assert response.status_code == 200, response.text
        data = response.json()
        assert "email" in data[0]
        assert "id" in data[0]
    
    
    # TODO: pv2 add Pydantic v2 version
    @needs_pydanticv1
    def test_create_item(client):
        item = {"title": "Foo", "description": "Something that fights"}
        response = client.post("/users/1/items/", json=item)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Comparators.java

     * com.google.common.collect.Ordering} (otherwise).
     *
     * <h3>Relationship to {@code Ordering}</h3>
     *
     * <p>In light of the significant enhancements to {@code Comparator} in Java 8, the overwhelming
     * majority of usages of {@code Ordering} can be written using only built-in JDK APIs. This class is
     * intended to "fill the gap" and provide those features of {@code Ordering} not already provided by
     * the JDK.
     *
     * @since 21.0
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  5. schema/relationship_test.go

    					Schema:      "User",
    					FieldSchema: "Toy",
    					Polymorphic: Polymorphic{ID: "OwnerID", Type: "OwnerType", Value: "users"},
    					References: []Reference{
    						{ForeignKey: "OwnerType", ForeignSchema: "Toy", PrimaryValue: "users"},
    						{ForeignKey: "OwnerType", ForeignSchema: "Toy", PrimaryValue: "users"},
    					},
    				},
    				"Toys": {
    					Name:        "Toys",
    					Type:        schema.HasMany,
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  6. tests/update_test.go

    	AssertEqual(t, lastUpdatedAt.UnixNano(), users[1].UpdatedAt.UnixNano())
    
    	// user2 should not be updated
    	var user1, user2 User
    	DB.First(&user1, users[0].ID)
    	DB.First(&user2, users[1].ID)
    	CheckUser(t, user1, *users[0])
    	CheckUser(t, user2, *users[1])
    
    	DB.Model(users[1]).UpdateColumn("name", "update_column_02_newnew").UpdateColumn("age", 19)
    	AssertEqual(t, lastUpdatedAt.UnixNano(), users[1].UpdatedAt.UnixNano())
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Dec 04 03:50:58 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_security/test_tutorial005_an_py310.py

                                },
                            }
                        },
                        "summary": "Read Users Me",
                        "operationId": "read_users_me_users_me__get",
                        "security": [{"OAuth2PasswordBearer": ["me"]}],
                    }
                },
                "/users/me/items/": {
                    "get": {
                        "responses": {
                            "200": {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  8. tests/test_infer_param_optionality.py

    
    app.include_router(user_router, prefix="/users")
    app.include_router(item_router, prefix="/items")
    
    app.include_router(item_router, prefix="/users/{user_id}/items")
    
    
    client = TestClient(app)
    
    
    def test_get_users():
        """Check that /users returns expected data"""
        response = client.get("/users")
        assert response.status_code == 200, response.text
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 13.3K bytes
    - Viewed (0)
  9. tests/test_security_oauth2_optional_description.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    reusable_oauth2 = OAuth2(
        flows={
            "password": {
                "tokenUrl": "token",
                "scopes": {"read:users": "Read the users", "write:users": "Create users"},
            }
        },
        description="OAuth2 security scheme",
        auto_error=False,
    )
    
    
    class User(BaseModel):
        username: str
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  10. docs/em/docs/tutorial/bigger-applications.md

    ๐Ÿ•น `items` ๐Ÿ”œ โœ”๏ธ ๐Ÿ”ข `router` (`items.router`). ๐Ÿ‘‰ ๐ŸŽ 1๏ธโƒฃ ๐Ÿ‘ฅ โœ ๐Ÿ“ `app/routers/items.py`, โšซ๏ธ `APIRouter` ๐ŸŽš.
    
    &amp; โคด๏ธ ๐Ÿ‘ฅ ๐ŸŽ ๐Ÿ•น `users`.
    
    ๐Ÿ‘ฅ ๐Ÿ’ช ๐Ÿ—„ ๐Ÿ‘ซ ๐Ÿ’–:
    
    ```Python
    from app.routers import items, users
    ```
    
    !!! info
        ๐Ÿฅ‡ โฌ "โš– ๐Ÿ—„":
    
        ```Python
        from .routers import items, users
        ```
    
        ๐Ÿฅˆ โฌ "๐ŸŽ† ๐Ÿ—„":
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 15.6K bytes
    - Viewed (0)
Back to top