- Sort Score
- Num 10 results
- Language All
Results 741 - 750 of 1,371 for ndjson (0.03 seconds)
-
internal/event/name_test.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package event import ( "encoding/json" "encoding/xml" "reflect" "testing" ) func TestNameExpand(t *testing.T) { testCases := []struct { name Name expectedResult []Name }{ {BucketCreated, []Name{BucketCreated}},
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 7.4K bytes - Click Count (0) -
tests/test_read_with_orm_mode.py
db_person = Person.model_validate(person) return db_person client = TestClient(app) person_data = {"name": "Dive", "lastname": "Wilson"} response = client.post("/people/", json=person_data) data = response.json() assert response.status_code == 200, response.text assert data["name"] == person_data["name"] assert data["lastname"] == person_data["lastname"]
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 1.2K bytes - Click Count (0) -
docs/ja/docs/tutorial/handling-errors.md
```JSON { "item": "The Foo Wrestlers" } ``` しかし、クライアントが`http://example.com/items/bar`(存在しない`item_id` `"bar"`)をリクエストした場合、HTTPステータスコード404("not found"エラー)と以下のJSONレスポンスが返されます: ```JSON { "detail": "Item not found" } ``` /// tip | 豆知識 `HTTPException`を発生させる際には、`str`だけでなく、JSONに変換できる任意の値を`detail`パラメータとして渡すことができます。Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 11.6K bytes - Click Count (0) -
docs/de/docs/how-to/general.md
## Daten in etwas JSON-kompatibles konvertieren { #convert-any-data-to-json-compatible } Um Daten in etwas JSON-kompatibles zu konvertieren, lesen Sie die Dokumentation unter [Tutorial – JSON-kompatibler Encoder](../tutorial/encoder.md){.internal-link target=_blank}. ## OpenAPI-Metadaten – Dokumentation { #openapi-metadata-docs }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 3.3K bytes - Click Count (0) -
docs/pt/docs/how-to/general.md
## Converter qualquer dado para compatível com JSON { #convert-any-data-to-json-compatible } Para converter qualquer dado para um formato compatível com JSON, leia a seção [Tutorial - Codificador Compatível com JSON](../tutorial/encoder.md){.internal-link target=_blank}. ## OpenAPI Metadata - Docs { #openapi-metadata-docs }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 2.9K bytes - Click Count (0) -
docs/ja/docs/tutorial/body-nested-models.md
{* ../../docs_src/body_nested_models/tutorial005.py hl[4,10] *} 文字列は有効なURLであることが確認され、そのようにJSONスキーマ・OpenAPIで文書化されます。 ## サブモデルのリストを持つ属性 Pydanticモデルを`list`や`set`などのサブタイプとして使用することもできます: {* ../../docs_src/body_nested_models/tutorial006.py hl[20] *} これは、次のようなJSONボディを期待します(変換、検証、ドキュメントなど): ```JSON hl_lines="11" { "name": "Foo", "description": "The pretender", "price": 42.0,Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 8.5K bytes - Click Count (0) -
tests/test_exception_handlers.py
response = client.get("/http-exception") assert response.status_code == 200 assert response.json() == {"exception": "http-exception"} def test_override_request_validation_exception(): response = client.get("/request-validation/invalid") assert response.status_code == 200 assert response.json() == {"exception": "request-validation"} def test_override_server_error_exception_raises():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 03 22:37:12 GMT 2024 - 2.4K bytes - Click Count (0) -
cmd/iam-etcd-store.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "encoding/json" "errors" "path" "strings" "sync" "time" jsoniter "github.com/json-iterator/go" "github.com/minio/minio-go/v7/pkg/set" "github.com/minio/minio/internal/config" "github.com/minio/minio/internal/kms" "github.com/puzpuzpuz/xsync/v3"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.9K bytes - Click Count (0) -
internal/bucket/replication/and.go
import ( "encoding/xml" ) // And - a tag to combine a prefix and multiple tags for replication configuration rule. type And struct { XMLName xml.Name `xml:"And" json:"And"` Prefix string `xml:"Prefix,omitempty" json:"Prefix,omitempty"` Tags []Tag `xml:"Tag,omitempty" json:"Tag,omitempty"` } var errDuplicateTagKey = Errorf("Duplicate Tag Keys are not allowed") // isEmpty returns true if Tags field is nullCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 1.8K bytes - Click Count (0) -
.github/workflows/update-test-buckets.yml
- name: Generate test class runtime JSON run: | cd /tmp/gradle-ci-health ./gradlew :run --args "/tmp/test-class-data.json ${GITHUB_WORKSPACE}" - name: Update test bucket split run: | cd ${GITHUB_WORKSPACE}/.teamcity ./mvnw compile exec:java@update-test-buckets -DinputTestClassDataJson=/tmp/test-class-data.json - name: Check for changes in ci-health repositoryCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Dec 09 22:14:16 GMT 2025 - 2.4K bytes - Click Count (0)