Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 441 - 450 of 1,555 for depend (0.05 seconds)

  1. docs_src/websockets/tutorial002_py310.py

    from fastapi import (
        Cookie,
        Depends,
        FastAPI,
        Query,
        WebSocket,
        WebSocketException,
        status,
    )
    from fastapi.responses import HTMLResponse
    
    app = FastAPI()
    
    html = """
    <!DOCTYPE html>
    <html>
        <head>
            <title>Chat</title>
        </head>
        <body>
            <h1>WebSocket Chat</h1>
            <form action="" onsubmit="sendMessage(event)">
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 2.7K bytes
    - Click Count (0)
  2. cmd/metacache-set_gen.go

    	// map header, size 19
    	// string "ID"
    	o = append(o, 0xde, 0x0, 0x13, 0xa2, 0x49, 0x44)
    	o = msgp.AppendString(o, z.ID)
    	// string "Bucket"
    	o = append(o, 0xa6, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74)
    	o = msgp.AppendString(o, z.Bucket)
    	// string "BaseDir"
    	o = append(o, 0xa7, 0x42, 0x61, 0x73, 0x65, 0x44, 0x69, 0x72)
    	o = msgp.AppendString(o, z.BaseDir)
    	// string "Prefix"
    	o = append(o, 0xa6, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  3. docs/ko/docs/tutorial/dependencies/index.md

    ///
    
    ### `Depends` 불러오기
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[3] *}
    
    ### "의존자"에 의존성 명시하기
    
    *경로 작동 함수*의 매개변수로 `Body`, `Query` 등을 사용하는 방식과 같이 새로운 매개변수로 `Depends`를 사용합니다:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[13,18] *}
    
    비록 `Body`, `Query` 등을 사용하는 것과 같은 방식으로 여러분의 함수의 매개변수에 있는 `Depends`를 사용하지만, `Depends`는 약간 다르게 작동합니다.
    
    `Depends`에 단일 매개변수만 전달했습니다.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 11.1K bytes
    - Click Count (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

            // Create a very long URL
            StringBuilder longUrl = new StringBuilder("https://example.com/");
            for (int i = 0; i < 1000; i++) {
                longUrl.append("very/long/path/segment/");
            }
            longUrl.append("file.html");
    
            urlFilter.addInclude("https://example.com/.*");
    
            // Should handle long URLs without issues
            assertTrue(urlFilter.match(longUrl.toString()));
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Wed Sep 03 14:42:53 GMT 2025
    - 19K bytes
    - Click Count (0)
  5. docs/ru/docs/advanced/security/oauth2-scopes.md

    /// info | Технические детали
    
    `Security` на самом деле является подклассом `Depends` и имеет всего один дополнительный параметр, который мы рассмотрим позже.
    
    Но используя `Security` вместо `Depends`, **FastAPI** будет знать, что можно объявлять security scopes, использовать их внутри и документировать API в OpenAPI.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:37:11 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  6. tests/associations_has_one_test.go

    	}
    
    	// Append
    	DB.Model(&users).Association("Account").Append(
    		&Account{Number: "account-slice-append-1"},
    		&Account{Number: "account-slice-append-2"},
    		&Account{Number: "account-slice-append-3"},
    	)
    
    	AssertAssociationCount(t, users, "Account", 3, "After Append")
    
    	// Replace -> same as append
    
    	// Delete
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Jun 12 10:49:45 GMT 2024
    - 7.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/audit/SecurityAuditLogger.java

            json.append("{");
            json.append("\"timestamp\":\"").append(escapeJson(entry.timestamp.toString())).append("\",");
            json.append("\"eventType\":\"").append(entry.eventType.name()).append("\",");
            json.append("\"severity\":\"").append(entry.severity.name()).append("\",");
            json.append("\"message\":\"").append(escapeJson(entry.message)).append("\"");
    
            if (!entry.context.isEmpty()) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  8. docs/ru/docs/advanced/websockets.md

    <img src="/img/tutorial/websockets/image04.png">
    
    И все они будут использовать одно и то же веб-сокет соединение.
    
    ## Использование `Depends` и не только { #using-depends-and-others }
    
    Вы можете импортировать из `fastapi` и использовать в эндпоинте вебсокета:
    
    * `Depends`
    * `Security`
    * `Cookie`
    * `Header`
    * `Path`
    * `Query`
    
    Они работают так же, как и в других FastAPI эндпоинтах/*операциях пути*:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/util/IpAddressUtil.java

            final StringBuilder url = new StringBuilder();
            url.append(protocol).append("://").append(host);
            if (port > 0) {
                url.append(":").append(port);
            }
            if (path != null && !path.isEmpty()) {
                if (!path.startsWith("/")) {
                    url.append("/");
                }
                url.append(path);
            }
            return url.toString();
        }
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 06 08:31:03 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  10. tests/associations_belongs_to_test.go

    	}
    
    	// Append
    	DB.Model(&users).Association("Company").Append(
    		&Company{Name: "company-slice-append-1"},
    		&Company{Name: "company-slice-append-2"},
    		&Company{Name: "company-slice-append-3"},
    	)
    
    	AssertAssociationCount(t, users, "Company", 3, "After Append")
    
    	DB.Model(&users).Association("Manager").Append(
    		GetUser("manager-slice-belongs-to-1", Config{}),
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 9.3K bytes
    - Click Count (0)
Back to Top