Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 284 for pryce (0.15 sec)

  1. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-parent/1.3/hamcrest-parent-1.3.pom

      <developers>
        <developer>
          <id>joe.walnes</id>
          <name>Joe Walnes</name>
          <roles>
            <role>Developer</role>
          </roles>
        </developer>
        <developer>
          <id>nat.pryce</id>
          <name>Nat Pryce</name>
          <roles>
            <role>Developer</role>
          </roles>
        </developer>
        <developer>
          <id>smgfreeman</id>
          <name>Steve Freeman</name>
          <roles>
    Plain Text
    - Registered: 2024-02-18 03:35
    - Last Modified: 2022-10-02 08:41
    - 1.9K bytes
    - Viewed (0)
  2. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar

    of a specific type * and that will report why the received value has been rejected. * This implements the null check, checks the type and then casts. * To use, implement <pre>matchesSafely()</pre>. * * @param <T> * @author Neil Dunn * @author Nat Pryce * @author Steve Freeman */ public abstract class TypeSafeDiagnosingMa<T> extends BaseMatcher<T> { private static final ReflectiveTypeFinder TYPE_FINDER = new ReflectiveTypeFinder("matchesSafely", 2, 0); private final Class<?> expectedType; /** * Subclasses...
    Archive
    - Registered: 2024-02-18 03:35
    - Last Modified: 2022-10-02 08:41
    - 31.9K bytes
    - Viewed (0)
  3. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar

    for Matchers that require a non-null value of a specific type and that will report why the received value has been rejected. This implements the null check, checks the type and then casts. To use, implement matchesSafely() . Author: Neil Dunn, Nat Pryce, Steve Freeman Constructor Summary protected TypeSafeDiagnosingMa() The default constructor for simple sub types protected TypeSafeDiagnosingMa(java.lang.Class<?> expectedType) Use this constructor if the subclass that implements matchesSafely is not...
    Archive
    - Registered: 2024-02-18 03:35
    - Last Modified: 2022-10-02 08:41
    - 236.8K bytes
    - Viewed (0)
  4. tests/hooks_test.go

    	// will set all product's price to last product's price + 10
    	for idx, value := range []int64{410, 410, 410} {
    		if products[idx].Price != value {
    			t.Errorf("invalid price for product #%v, expects: %v, got %v", idx, value, products[idx].Price)
    		}
    	}
    
    	products2 := []Product3{
    		{Name: "Product-1", Price: 100},
    		{Name: "Product-2", Price: 200},
    		{Name: "Product-3", Price: 300},
    	}
    
    	DB.Create(&products2)
    
    Go
    - Registered: 2024-02-25 09:35
    - Last Modified: 2023-02-18 01:20
    - 15.9K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_dataclasses/test_tutorial001.py

        response = client.post("/items/", json={"name": "Foo", "price": 3})
        assert response.status_code == 200
        assert response.json() == {
            "name": "Foo",
            "price": 3,
            "description": None,
            "tax": None,
        }
    
    
    def test_post_invalid_item():
        response = client.post("/items/", json={"name": "Foo", "price": "invalid price"})
        assert response.status_code == 422
    Python
    - Registered: 2024-02-25 07:19
    - Last Modified: 2023-07-07 17:12
    - 5.3K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_body_fields/test_tutorial001_an_py310.py

        }
    
    
    @needs_py310
    def test_invalid_price(client: TestClient):
        response = client.put("/items/5", json={"item": {"name": "Foo", "price": -3.0}})
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "greater_than",
                        "loc": ["body", "item", "price"],
                        "msg": "Input should be greater than 0",
    Python
    - Registered: 2024-02-25 07:19
    - Last Modified: 2023-07-07 17:12
    - 7.4K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py310.py

                        "title": "Item",
                        "required": ["name", "price"],
                        "type": "object",
                        "properties": {
                            "name": {"title": "Name", "type": "string"},
                            "description": {"title": "Description", "type": "string"},
                            "price": {"title": "Price", "type": "number"},
                            "tax": {"title": "Tax", "type": "number"},
    Python
    - Registered: 2024-02-25 07:19
    - Last Modified: 2023-09-28 04:14
    - 8.9K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py39.py

                        "title": "Item",
                        "required": ["name", "price"],
                        "type": "object",
                        "properties": {
                            "name": {"title": "Name", "type": "string"},
                            "description": {"title": "Description", "type": "string"},
                            "price": {"title": "Price", "type": "number"},
                            "tax": {"title": "Tax", "type": "number"},
    Python
    - Registered: 2024-02-25 07:19
    - Last Modified: 2023-09-28 04:14
    - 8.9K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_response_model/test_tutorial004_py39.py

                            ["name", "description", "price", "tax", "tags"],
                            # TODO: remove when deprecating Pydantic v1
                            ["name", "price"],
                        ),
                        "type": "object",
                        "properties": {
                            "name": {"title": "Name", "type": "string"},
                            "price": {"title": "Price", "type": "number"},
    Python
    - Registered: 2024-02-25 07:19
    - Last Modified: 2023-08-04 20:47
    - 5.2K bytes
    - Viewed (0)
  10. docs_src/response_model/tutorial006_py310.py

    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float = 10.5
    
    
    items = {
        "foo": {"name": "Foo", "price": 50.2},
        "bar": {"name": "Bar", "description": "The Bar fighters", "price": 62, "tax": 20.2},
        "baz": {
            "name": "Baz",
            "description": "There goes my baz",
            "price": 50.2,
            "tax": 10.5,
        },
    }
    
    
    @app.get(
    Python
    - Registered: 2024-02-25 07:19
    - Last Modified: 2022-01-07 14:11
    - 816 bytes
    - Viewed (0)
Back to top