Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4661 - 4670 of 6,918 for RETURN (0.24 sec)

  1. docs_src/websockets/tutorial002_py310.py

    </html>
    """
    
    
    @app.get("/")
    async def get():
        return HTMLResponse(html)
    
    
    async def get_cookie_or_token(
        websocket: WebSocket,
        session: str | None = Cookie(default=None),
        token: str | None = Query(default=None),
    ):
        if session is None and token is None:
            raise WebSocketException(code=status.WS_1008_POLICY_VIOLATION)
        return session or token
    
    
    @app.websocket("/items/{item_id}/ws")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. docs_src/header_params/tutorial001_an.py

    from fastapi import FastAPI, Header
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(user_agent: Annotated[Union[str, None], Header()] = None):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 259 bytes
    - Viewed (0)
  3. docs_src/security/tutorial006.py

    from fastapi.security import HTTPBasic, HTTPBasicCredentials
    
    app = FastAPI()
    
    security = HTTPBasic()
    
    
    @app.get("/users/me")
    def read_current_user(credentials: HTTPBasicCredentials = Depends(security)):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 321 bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsRelatedContentCQ.java

        //                                                                       =============
        @Override
        public String asTableDbName() {
            return "related_content";
        }
    
        @Override
        public String xgetAliasName() {
            return "related_content";
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2_test.go

    		}
    	}
    
    	// Deleting fileInfos[4].VersionID, fileInfos[5].VersionID should return empty data dir; there are other object version sharing the data dir.
    	// Subsequently deleting fileInfos[6].versionID should return fileInfos[6].dataDir since there are no other object versions sharing this data dir.
    	count := len(testCases)
    	for i := 4; i < len(testCases); i++ {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

      }
    
      public G getSubjectGenerator() {
        return subjectGenerator;
      }
    
      /** Returns the name of the test method invoked by this test instance. */
      @J2ktIncompatible
      @GwtIncompatible // not used under GWT, and super.getName() is not available under J2CL
      public final String getTestMethodName() {
        return super.getName();
      }
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 28 21:41:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

        return suite;
      }
    
      private static TestSuite suiteForBytes(
          String name, ByteSinkFactory factory, String desc, byte[] bytes) {
        TestSuite suite = new TestSuite(name + " [" + desc + "]");
        for (final Method method : testMethods) {
          suite.addTest(new ByteSinkTester(factory, bytes, name, desc, method));
        }
        return suite;
      }
    
      private ByteSink sink;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

      }
    
      public G getSubjectGenerator() {
        return subjectGenerator;
      }
    
      /** Returns the name of the test method invoked by this test instance. */
      @J2ktIncompatible
      @GwtIncompatible // not used under GWT, and super.getName() is not available under J2CL
      public final String getTestMethodName() {
        return super.getName();
      }
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 28 21:41:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/TreeTraverserTest.java

            @Override
            public Iterable<Tree> children(Tree node) {
              return node.children;
            }
          };
    
      private static final TreeTraverser<Tree> ADAPTER_USING_USING =
          TreeTraverser.using(
              new Function<Tree, Iterable<Tree>>() {
                @Override
                public Iterable<Tree> apply(Tree node) {
                  return node.children;
                }
              });
    
      //        h
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/ByteSinkTester.java

        return suite;
      }
    
      private static TestSuite suiteForBytes(
          String name, ByteSinkFactory factory, String desc, byte[] bytes) {
        TestSuite suite = new TestSuite(name + " [" + desc + "]");
        for (final Method method : testMethods) {
          suite.addTest(new ByteSinkTester(factory, bytes, name, desc, method));
        }
        return suite;
      }
    
      private ByteSink sink;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top