Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 593 for Bar (0.02 sec)

  1. 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(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 816 bytes
    - Viewed (0)
  2. tests/test_dependency_security_overrides.py

        user_data: Tuple[str, List[str]] = Security(get_user, scopes=["foo", "bar"]),
        data: List[int] = Depends(get_data),
    ):
        return {"user": user_data[0], "scopes": user_data[1], "data": data}
    
    
    client = TestClient(app)
    
    
    def test_normal():
        response = client.get("/user")
        assert response.json() == {
            "user": "john",
            "scopes": ["foo", "bar"],
            "data": [1, 2, 3],
        }
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Jun 14 15:54:46 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

    import static com.google.common.collect.testing.features.FeatureUtil.impliedFeatures;
    import static com.google.common.collect.testing.features.FeatureUtilTest.ExampleFeature.BAR;
    import static com.google.common.collect.testing.features.FeatureUtilTest.ExampleFeature.FOO;
    import static com.google.common.collect.testing.features.FeatureUtilTest.ExampleFeature.IMPLIES_BAR;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/CaseFormatTest.java

        assertEquals("foo", LOWER_HYPHEN.to(LOWER_HYPHEN, "foo"));
        assertEquals("foo-bar", LOWER_HYPHEN.to(LOWER_HYPHEN, "foo-bar"));
      }
    
      public void testLowerHyphenToLowerUnderscore() {
        assertEquals("foo", LOWER_HYPHEN.to(LOWER_UNDERSCORE, "foo"));
        assertEquals("foo_bar", LOWER_HYPHEN.to(LOWER_UNDERSCORE, "foo-bar"));
      }
    
      public void testLowerHyphenToLowerCamel() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 04 09:41:29 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

                assertTrue(robotsTxt.allows("/help.html", userAgent));
                assertTrue(robotsTxt.allows("/help/faq.html", userAgent));
                assertTrue(robotsTxt.allows("/foo/bar/", userAgent));
                assertTrue(robotsTxt.allows("/foo/bar/index.html", userAgent));
                assertEquals(0, robotsTxt.getCrawlDelay(userAgent));
            }
    
            for (String userAgent : new String[] { "BruteBot", "FOO BruteBot/1.0" }) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. istioctl/pkg/workload/testdata/vmconfig/ipv4/cluster.env.golden

    ISTIO_META_CLUSTER_ID='Kubernetes'
    ISTIO_META_DNS_CAPTURE='true'
    ISTIO_META_MESH_ID=''
    ISTIO_META_NETWORK=''
    ISTIO_META_WORKLOAD_NAME='foo'
    ISTIO_NAMESPACE='bar'
    ISTIO_SERVICE='foo.bar'
    ISTIO_SERVICE_CIDR='*'
    ISTIO_SVC_IP='10.10.10.10'
    POD_NAMESPACE='bar'
    PROXY_CONFIG_ANNOT_VALUE='bar'
    SERVICE_ACCOUNT='vm-serviceaccount'
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 655 bytes
    - Viewed (0)
  7. istioctl/pkg/workload/testdata/vmconfig/ipv6/cluster.env.golden

    ISTIO_META_CLUSTER_ID='Kubernetes'
    ISTIO_META_DNS_CAPTURE='true'
    ISTIO_META_MESH_ID=''
    ISTIO_META_NETWORK=''
    ISTIO_META_WORKLOAD_NAME='foo'
    ISTIO_NAMESPACE='bar'
    ISTIO_SERVICE='foo.bar'
    ISTIO_SERVICE_CIDR='*'
    ISTIO_SVC_IP='fd00:10:96::1'
    POD_NAMESPACE='bar'
    PROXY_CONFIG_ANNOT_VALUE='bar'
    SERVICE_ACCOUNT='vm-serviceaccount'
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 657 bytes
    - Viewed (0)
  8. istioctl/pkg/workload/testdata/vmconfig-nil-proxy-metadata/cluster.env.golden

    ISTIO_META_CLUSTER_ID='Kubernetes'
    ISTIO_META_DNS_CAPTURE='true'
    ISTIO_META_MESH_ID=''
    ISTIO_META_NETWORK=''
    ISTIO_META_WORKLOAD_NAME='foo'
    ISTIO_NAMESPACE='bar'
    ISTIO_SERVICE='foo.bar'
    ISTIO_SERVICE_CIDR='*'
    ISTIO_SVC_IP='10.10.10.10'
    POD_NAMESPACE='bar'
    SERVICE_ACCOUNT='vm-serviceaccount'
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 546 bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/CharSinkTest.java

        sink.writeLines(ImmutableList.of("foo", "bar", "baz").stream());
        String separator = LINE_SEPARATOR.value();
        assertEquals("foo" + separator + "bar" + separator + "baz" + separator, sink.getString());
      }
    
      public void testWriteLines_stream_separator() throws IOException {
        sink.writeLines(ImmutableList.of("foo", "bar", "baz").stream(), "!");
        assertEquals("foo!bar!baz!", sink.getString());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/PathType.java

         *       {@code {"--module-path", "dir\path1;dir\path2"}} on Windows.</li>
         *   <li>If this type was created by {@code JavaPathType.patchModule("foo.bar")}, then the method returns
         *       {@code {"--patch-module", "foo.bar=dir/path1:dir/path2"}} on Unix or
         *       {@code {"--patch-module", "foo.bar=dir\path1;dir\path2"}} on Windows.</li>
         * </ul>
         *
         * @param paths the path to format as a string
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top