- Sort Score
- Result 10 results
- Languages All
Results 1661 - 1670 of 1,900 for xpath (0.03 sec)
-
docs/ko/docs/advanced/response-directly.md
# 응답을 직접 반환하기 **FastAPI**에서 *경로 작업(path operation)*을 생성할 때, 일반적으로 `dict`, `list`, Pydantic 모델, 데이터베이스 모델 등의 데이터를 반환할 수 있습니다. 기본적으로 **FastAPI**는 [JSON 호환 가능 인코더](../tutorial/encoder.md){.internal-link target=_blank}에 설명된 `jsonable_encoder`를 사용해 해당 반환 값을 자동으로 `JSON`으로 변환합니다. 그런 다음, JSON 호환 데이터(예: `dict`)를 `JSONResponse`에 넣어 사용자의 응답을 전송하는 방식으로 처리됩니다. 그러나 *경로 작업*에서 `JSONResponse`를 직접 반환할 수도 있습니다. 예를 들어, 사용자 정의 헤더나 쿠키를 반환해야 하는 경우에 유용할 수 있습니다.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 30 20:00:57 UTC 2024 - 3.4K bytes - Viewed (0) -
src/cmd/cgo/doc.go
Example: //go:cgo_import_dynamic _ _ "libc.so.6" For compatibility with current versions of SWIG, #pragma dynimport is an alias for //go:cgo_import_dynamic. //go:cgo_dynamic_linker "<path>" In internal linking mode, use "<path>" as the dynamic linker in the final binary. This directive is only needed from one package when constructing a binary; by convention it is supplied by runtime/cgo. Example:
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Oct 01 22:52:54 UTC 2024 - 44K bytes - Viewed (0) -
docs/pt/docs/tutorial/bigger-applications.md
É tudo a mesma estrutura de `app/routers/users.py`. Mas queremos ser mais inteligentes e simplificar um pouco o código. Sabemos que todas as *operações de rota* neste módulo têm o mesmo: * Path `prefix`: `/items`. * `tags`: (apenas uma tag: `items`). * Extra `responses`. * `dependências`: todas elas precisam da dependência `X-Token` que criamos.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 19.6K bytes - Viewed (0) -
cmd/tier.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "bytes" "context" "encoding/base64" "encoding/binary" "errors" "fmt" "math/rand" "net/http" "path" "strings" "sync" "time" "github.com/minio/madmin-go/v3" "github.com/minio/minio/internal/crypto" "github.com/minio/minio/internal/hash" "github.com/minio/minio/internal/kms"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 20:44:05 UTC 2024 - 15.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/search/SearchApiTests.java
import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import io.restassured.RestAssured; import io.restassured.path.json.JsonPath; import io.restassured.response.Response; /** * Integration Tests which need an execution of crawler * - /api/v1/documents * */ @Tag("it") public class SearchApiTests extends CrawlTestBase {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java
import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import io.restassured.RestAssured; import io.restassured.path.json.JsonPath; /** * Integration Tests which need an execution of crawler * - /api/admin/joblog * - /api/admin/crawlinginfo * - /api/admin/failureurl * - /api/admin/searchlist * */ @Tag("it")
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.1K bytes - Viewed (0) -
docs/pt/docs/tutorial/testing.md
Depois é só fazer o mesmo nos seus testes. Por exemplo: * Para passar um parâmetro *path* ou *query*, adicione-o à própria URL. * Para passar um corpo JSON, passe um objeto Python (por exemplo, um `dict`) para o parâmetro `json`. * Se você precisar enviar *Dados de Formulário* em vez de JSON, use o parâmetro `data`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.9K bytes - Viewed (0) -
docs/ja/docs/tutorial/extra-data-types.md
* リクエストやレスポンスでは`float`と同じように扱います。 * Pydanticの全ての有効な型はこちらで確認できます: <a href="https://docs.pydantic.dev/latest/concepts/types/" class="external-link" target="_blank">Pydantic data types</a>。 ## 例 ここでは、上記の型のいくつかを使用したパラメータを持つ*path operation*の例を示します。 ```Python hl_lines="1 2 12-16" {!../../docs_src/extra_data_types/tutorial001.py!} ``` 関数内のパラメータは自然なデータ型を持っていることに注意してください。そして、以下のように通常の日付操作を行うことができます: ```Python hl_lines="18 19"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.2K bytes - Viewed (0) -
cmd/data-scanner_test.go
VersioningConfigUpdatedAt: now, LifecycleConfigUpdatedAt: now, lifecycleConfig: &lc, versioningConfig: &vcfg, } globalBucketMetadataSys.Set(bucket, meta) item := scannerItem{ Path: obj, bucket: bucket, prefix: "", objectName: obj, lifeCycle: &lc, } modTime := time.Now() uuids := make([]uuid.UUID, 5) for i := range uuids {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 03 11:18:58 UTC 2024 - 6.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Address.kt
*/ @get:JvmName("proxySelector") val proxySelector: ProxySelector, ) { /** * Returns a URL with the hostname and port of the origin server. The path, query, and fragment of * this URL are always empty, since they are not significant for planning a route. */ @get:JvmName("url") val url: HttpUrl = HttpUrl.Builder()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.4K bytes - Viewed (0)