Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2141 - 2150 of 2,912 for fromP2 (0.14 sec)

  1. docs/en/docs/tutorial/security/get-current-user.md

    `get_current_user` will have a dependency with the same `oauth2_scheme` we created before.
    
    The same as we were doing before in the *path operation* directly, our new dependency `get_current_user` will receive a `token` as a `str` from the sub-dependency `oauth2_scheme`:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[25] *}
    
    ## Get the user { #get-the-user }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. docs/ko/docs/advanced/response-directly.md

    이러한 경우, 데이터를 응답에 전달하기 전에 `jsonable_encoder`를 사용하여 변환할 수 있습니다:
    
    {* ../../docs_src/response_directly/tutorial001.py hl[6:7,21:22] *}
    
    /// note | 기술적 세부 사항
    
    `from starlette.responses import JSONResponse`를 사용할 수도 있습니다.
    
    **FastAPI**는 개발자의 편의를 위해 `starlette.responses`를 `fastapi.responses`로 제공합니다. 그러나 대부분의 가능한 응답은 Starlette에서 직접 제공합니다.
    
    ///
    
    ## 사용자 정의 `Response` 반환하기
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. docs/ko/docs/advanced/templates.md

    또한 이전 버전에서는 `request` 객체가 Jinja2의 컨텍스트에서 키-값 쌍의 일부로 전달되었습니다.
    
    ///
    
    /// tip | 팁
    
    `response_class=HTMLResponse`를 선언하면 문서 UI 응답이 HTML임을 알 수 있습니다.
    
    ///
    
    /// note | 기술 세부 사항
    `from starlette.templating import Jinja2Templates`를 사용할 수도 있습니다.
    
    **FastAPI**는 개발자를 위한 편리함으로 `fastapi.templating` 대신 `starlette.templating`을 제공합니다. 하지만 대부분의 사용 가능한 응답은 Starlette에서 직접 옵니다. `Request` 및 `StaticFiles`도 마찬가지입니다.
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 09 13:07:23 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. logger/sql.go

    		sql = numericPlaceholderRe.ReplaceAllStringFunc(sql, func(v string) string {
    			num := v[1 : len(v)-1]
    			n, _ := strconv.Atoi(num)
    
    			// position var start from 1 ($1, $2)
    			n -= 1
    			if n >= 0 && n <= len(vars)-1 {
    				return vars[n]
    			}
    			return v
    		})
    	}
    
    	return sql
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. schema/naming.go

    func (ns NamingStrategy) TableName(str string) string {
    	if ns.SingularTable {
    		return ns.TablePrefix + ns.toDBName(str)
    	}
    	return ns.TablePrefix + inflection.Plural(ns.toDBName(str))
    }
    
    // SchemaName generate schema name from table name, don't guarantee it is the reverse value of TableName
    func (ns NamingStrategy) SchemaName(table string) string {
    	table = strings.TrimPrefix(table, ns.TablePrefix)
    
    	if ns.SingularTable {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/CloseablesTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link Closeables}.
     *
     * <p>Checks proper closing behavior, and ensures that IOExceptions on Closeable.close() are not
     * propagated out from the {@link Closeables#close} method if {@code swallowException} is true.
     *
     * @author Michael Lancaster
     */
    @NullUnmarked
    public class CloseablesTest extends TestCase {
      private Closeable mockCloseable;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/CollectionFuture.java

        extends AggregateFuture<V, C> {
      /*
       * We access this field racily but safely. For discussion of a similar situation, see the comments
       * on the fields of TimeoutFuture. This field is slightly different from the fields discussed
       * there: cancel() never reads this field, only writes to it. That makes the race here completely
       * harmless, rather than just 99.99% harmless.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipe.java

    import jcifs.Configuration;
    
    /**
     * SMB1 transaction subcommand for calling a named pipe.
     *
     * This class implements the TRANS_CALL_NAMED_PIPE transaction which allows
     * writing data to and reading data from a named pipe in a single operation.
     */
    public class TransCallNamedPipe extends SmbComTransaction {
    
        private static final Logger log = LoggerFactory.getLogger(TransCallNamedPipe.class);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/templates.md

    ///
    
    /// tip | Tipp
    
    Durch die Deklaration von `response_class=HTMLResponse` kann die Dokumentationsoberfläche erkennen, dass die Response HTML sein wird.
    
    ///
    
    /// note | Technische Details
    
    Sie können auch `from starlette.templating import Jinja2Templates` verwenden.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/templates.md

    ///
    
    /// tip | Dica
    
    Ao declarar `response_class=HTMLResponse`, a documentação entenderá que a resposta será HTML.
    
    ///
    
    /// note | Detalhes Técnicos
    
    Você também poderia usar `from starlette.templating import Jinja2Templates`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top