Search Options

Results per page
Sort
Preferred Languages
Advance

Results 971 - 980 of 1,082 for Field (0.03 sec)

  1. tests/test_dependency_class.py

    class CallableGenDependency:
        def __call__(self, value: str) -> Generator[str, None, None]:
            yield value
    
    
    class AsyncCallableDependency:
        async def __call__(self, value: str) -> str:
            return value
    
    
    class AsyncCallableGenDependency:
        async def __call__(self, value: str) -> AsyncGenerator[str, None]:
            yield value
    
    
    class MethodsDependency:
        def synchronous(self, value: str) -> str:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Aug 09 10:54:05 UTC 2020
    - 3.3K bytes
    - Viewed (0)
  2. tests/test_dependency_contextmanager.py

        pass
    
    
    async def asyncgen_state(state: Dict[str, str] = Depends(get_state)):
        state["/async"] = "asyncgen started"
        yield state["/async"]
        state["/async"] = "asyncgen completed"
    
    
    def generator_state(state: Dict[str, str] = Depends(get_state)):
        state["/sync"] = "generator started"
        yield state["/sync"]
        state["/sync"] = "generator completed"
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:13:50 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

        </magic>
      </mime-type>
      <mime-type type="application/x-axcrypt">
        <_comment>AxCrypt</_comment>
        <glob pattern="*.axx" />
        <magic priority="60">
          <!-- AxCrypt block header, skip length field, then Header of type Preamble -->
          <match value="0xc0b9072e4f93f146a015792ca1d9e821" type="string" offset="0">
             <match value="2" type="big32" offset="17" />
          </match>
        </magic>
      </mime-type>
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Sep 21 06:46:43 UTC 2023
    - 298.5K bytes
    - Viewed (0)
  4. cmd/object-handlers_test.go

    		if err != nil {
    			t.Fatalf("Failed to create new streaming signed HTTP request: <ERROR> %v.", err)
    		}
    		switch test.fault {
    		case BadSignature:
    			// Reset date field in header to make streaming signature fail.
    			req.Header.Set("x-amz-date", "")
    		case TooBigDecodedLength:
    			// Set decoded length to a large value out of int64 range to simulate parse failure.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

                        yield webConfigService.getWebConfig(id).get();
                    }
                    case FILE -> {
                        final FileConfigService fileConfigService = ComponentUtil.getComponent(FileConfigService.class);
                        yield fileConfigService.getFileConfig(id).get();
                    }
                    case DATA -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/sql-databases.md

    ๐Ÿ‘ฅ ๐Ÿšฎ ๐Ÿ— `SessionLocal()` &amp; ๐Ÿšš ๐Ÿ“จ `try` ๐Ÿซ.
    
     &amp; โคด๏ธ ๐Ÿ‘ฅ ๐Ÿ” โšซ๏ธ `finally` ๐Ÿซ.
    
    ๐Ÿ‘‰ ๐ŸŒŒ ๐Ÿ‘ฅ โš’ ๐Ÿ’ญ ๐Ÿ’ฝ ๐ŸŽ‰ ๐Ÿ•ง ๐Ÿ“ช โฎ๏ธ ๐Ÿ“จ. ๐Ÿšฅ ๐Ÿ“ค โš  โช ๐Ÿญ ๐Ÿ“จ.
    
    โœ‹๏ธ ๐Ÿ‘† ๐Ÿ’ช ๐Ÿšซ ๐Ÿคš โž•1๏ธโƒฃ โš  โšช๏ธโžก๏ธ ๐Ÿšช ๐Ÿ“Ÿ (โฎ๏ธ `yield`). ๐Ÿ‘€ ๐ŸŒ– [๐Ÿ”— โฎ๏ธ `yield` &amp; `HTTPException`](dependencies/dependencies-with-yield.md#yield-httpexception){.internal-link target=_blank}
    
    ///
    
    &amp; โคด๏ธ, ๐Ÿ•โ” โš™๏ธ ๐Ÿ”— *โžก ๐Ÿ› ๏ธ ๐Ÿ”ข*, ๐Ÿ‘ฅ ๐Ÿ“ฃ โšซ๏ธ โฎ๏ธ ๐Ÿ†Ž `Session` ๐Ÿ‘ฅ ๐Ÿ—„ ๐Ÿ”— โšช๏ธโžก๏ธ ๐Ÿ‡ธ๐Ÿ‡ฒ.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 25K bytes
    - Viewed (0)
  7. docs_src/dependencies/tutorial010.py

        def __enter__(self):
            return self.db
    
        def __exit__(self, exc_type, exc_value, traceback):
            self.db.close()
    
    
    async def get_db():
        with MySuperContextManager() as db:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 292 bytes
    - Viewed (0)
  8. okhttp/src/main/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz

    fedorapeople.org feedback feira.br fem.jp fentiger.mythic-beasts.com fermo.it ferrara.it ferrari ferrero feste-ip.net fet.no fetsund.no fg.it fh-muenster.io fh.se fhs.no fhsk.se fhv.se fi fi.cloudplatform.fi fi.cr fi.eu.org fi.it fiat fidelity fido fie.ee field.museum figueres.museum filatelia.museum filegear-au.me filegear-de.me filegear-gb.me filegear-ie.me filegear-jp.me filegear-sg.me filegear.me film film.hu film.museum fin.ci fin.ec fin.tn final finance financial fineart.museum finearts.museum finland.museum...
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 40.4K bytes
    - Viewed (1)
  9. docs_src/dependencies/tutorial007.py

    async def get_db():
        db = DBSession()
        try:
            yield db
        finally:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 99 bytes
    - Viewed (0)
  10. docs_src/dependencies/tutorial008c_an.py

    from fastapi import Depends, FastAPI, HTTPException
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    class InternalError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except InternalError:
            print("Oops, we didn't raise again, Britney ๐Ÿ˜ฑ")
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
        if item_id == "portal-gun":
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 710 bytes
    - Viewed (0)
Back to top