Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 239 for routess (0.05 sec)

  1. common-protos/k8s.io/api/networking/v1/generated.proto

      // 	  :443 for https.
      // Both these may change in the future.
      // Incoming requests are matched against the host before the
      // IngressRuleValue. If the host is unspecified, the Ingress routes all
      // traffic based on the specified IngressRuleValue.
      //
      // host can be "precise" which is a domain name without the terminating dot of
      // a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TreeBasedTableRowTest.java

     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.TableCollectionTest.RowTests;
    
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class TreeBasedTableRowTest extends RowTests {
      public TreeBasedTableRowTest() {
        super(false, true, true, true, true);
      }
    
      @Override
      Table<Character, String, Integer> makeTable() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 1K bytes
    - Viewed (0)
  3. tests/test_sub_callbacks.py

    def event_callback(event: Event):
        pass  # pragma: nocover
    
    
    subrouter = APIRouter()
    
    
    @subrouter.post("/invoices/", callbacks=invoices_callback_router.routes)
    def create_invoice(invoice: Invoice, callback_url: Optional[HttpUrl] = None):
        """
        Create an invoice.
    
        This will (let's imagine) let the API user (some external developer) create an
        invoice.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  4. tests/test_additional_response_extra.py

    from fastapi import APIRouter, FastAPI
    from fastapi.testclient import TestClient
    
    router = APIRouter()
    
    sub_router = APIRouter()
    
    app = FastAPI()
    
    
    @sub_router.get("/")
    def read_item():
        return {"id": "foo"}
    
    
    router.include_router(sub_router, prefix="/items")
    
    app.include_router(router)
    
    client = TestClient(app)
    
    
    def test_path_operation():
        response = client.get("/items/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. tests/test_router_events.py

        sub_router = APIRouter(lifespan=subrouter_lifespan)
    
        router = APIRouter(lifespan=router_lifespan)
        router.include_router(sub_router)
    
        app = FastAPI(lifespan=lifespan)
        app.include_router(router)
    
        @app.get("/")
        def main(request: Request) -> Dict[str, str]:
            assert request.state.app
            assert request.state.router
            assert request.state.sub_router
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 24 19:09:52 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. fastapi/openapi/utils.py

        operation["summary"] = generate_operation_summary(route=route, method=method)
        if route.description:
            operation["description"] = route.description
        operation_id = route.operation_id or route.unique_id
        if operation_id in operation_ids:
            message = (
                f"Duplicate Operation ID {operation_id} for function "
                + f"{route.endpoint.__name__}"
            )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  7. docs/pt/docs/advanced/openapi-callbacks.md

    ```Python hl_lines="35"
    {!../../docs_src/openapi_callbacks/tutorial001.py!}
    ```
    
    /// tip | Dica
    
    Perceba que você não está passando o roteador em si (`invoices_callback_router`) para `callback=`, mas o atributo `.routes`, como em `invoices_callback_router.routes`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 30 19:53:03 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/UnmodifiableRowSortedTableRowTest.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.TableCollectionTest.RowTests;
    import java.util.Map;
    
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class UnmodifiableRowSortedTableRowTest extends RowTests {
      public UnmodifiableRowSortedTableRowTest() {
        super(false, false, false, false, false);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. istioctl/pkg/util/proto/messageslice.go

    package proto
    
    import (
    	"bytes"
    
    	"google.golang.org/protobuf/proto"
    
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    // MessageSlice allows us to marshal slices of protobuf messages like clusters/listeners/routes/endpoints correctly
    type MessageSlice []proto.Message
    
    // MarshalJSON handles marshaling of slices of proto messages
    func (pSlice MessageSlice) MarshalJSON() ([]byte, error) {
    	buffer := bytes.NewBufferString("[")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 19 21:53:59 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ArrayTableRowTest.java

    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.TableCollectionTest.RowTests;
    import java.util.Map;
    
    @GwtIncompatible // TODO(hhchan): ArrayTable
    public class ArrayTableRowTest extends RowTests {
      public ArrayTableRowTest() {
        super(true, true, false, false, false);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top