- Sort Score
- Result 10 results
- Languages All
Results 1641 - 1650 of 4,798 for same (0.04 sec)
-
tests/test_tutorial/test_schema_extra_example/test_tutorial004_an_py310.py
}, }, "Item": { "title": "Item", "required": ["name", "price"], "type": "object", "properties": { "name": {"title": "Name", "type": "string"}, "description": IsDict( { "title": "Description",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 7.1K bytes - Viewed (0) -
utils/utils_test.go
} for _, test := range tests { t.Run(test.name, func(t *testing.T) { if out := ToString(test.in); test.out != out { t.Fatalf("ToString(%v) want: %s, got: %s", test.in, test.out, out) } }) } } func TestRTrimSlice(t *testing.T) { tests := []struct { name string input []int trimLen int expected []int }{ { name: "Trim two elements from end",
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Aug 22 11:03:42 UTC 2024 - 4.9K bytes - Viewed (0) -
docs_src/body_updates/tutorial002_py39.py
app = FastAPI() class Item(BaseModel): name: Union[str, None] = None description: Union[str, None] = None price: Union[float, None] = None tax: float = 10.5 tags: list[str] = [] items = { "foo": {"name": "Foo", "price": 50.2}, "bar": {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2}, "baz": {"name": "Baz", "description": None, "price": 50.2, "tax": 10.5, "tags": []},
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 1K bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial005_an.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 26 18:03:13 UTC 2023 - 1.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MultipartBodyTest.kt
} @Test fun fieldAndTwoFiles() { val expected = """ |--AaB03x |Content-Disposition: form-data; name="submit-name" | |Larry |--AaB03x |Content-Disposition: form-data; name="files" |Content-Type: multipart/mixed; boundary=BbC04y | |--BbC04y |Content-Disposition: file; filename="file1.txt"
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.4K bytes - Viewed (0) -
.github/workflows/smokeshow.yml
name: Smokeshow on: workflow_run: workflows: [Test] types: [completed] permissions: statuses: write env: UV_SYSTEM_PYTHON: 1 jobs: smokeshow: if: ${{ github.event.workflow_run.conclusion == 'success' }} runs-on: ubuntu-latest steps: - name: Dump GitHub context env: GITHUB_CONTEXT: ${{ toJson(github) }} run: echo "$GITHUB_CONTEXT"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 12 13:47:46 UTC 2024 - 1.4K bytes - Viewed (0) -
clause/limit.go
package clause // Limit limit clause type Limit struct { Limit *int Offset int } // Name where clause name func (limit Limit) Name() string { return "LIMIT" } // Build build where clause func (limit Limit) Build(builder Builder) { if limit.Limit != nil && *limit.Limit >= 0 { builder.WriteString("LIMIT ") builder.AddVar(builder, *limit.Limit) } if limit.Offset > 0 {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Feb 06 02:54:40 UTC 2024 - 942 bytes - Viewed (0) -
tests/embedded_struct_test.go
} for _, name := range []string{"user_id", "user_name", "user_email"} { if !DB.Migrator().HasColumn(&HNPost{}, name) { t.Errorf("should has prefixed column %v", name) } } // save embedded struct DB.Save(&HNPost{BasePost: BasePost{Title: "news"}}) DB.Save(&HNPost{BasePost: BasePost{Title: "hn_news"}}) var news HNPost
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 7.3K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/writer_test.go
tests := []struct { name string format Format items []SecretItem expected []string unexpected []string }{ { name: "test tabular output with no secret items is equivalent to the header", format: TABULAR, items: []SecretItem{}, expected: []string{}, unexpected: secretItemColumns, }, { name: "test tabular output with a single secret item",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri May 29 20:42:01 UTC 2020 - 4.9K bytes - Viewed (0) -
cmd/os_unix.go
"strings" "sync" "syscall" "unsafe" "golang.org/x/sys/unix" ) func access(name string) error { if err := unix.Access(name, unix.F_OK); err != nil { return &os.PathError{Op: "lstat", Path: name, Err: err} } return nil } // openFileWithFD return 'fd' based file descriptor func openFileWithFD(name string, flag int, perm os.FileMode) (fd int, err error) { switch flag & writeMode { case writeMode:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.3K bytes - Viewed (0)