- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for importtab (0.1 sec)
-
docs/es/docs/tutorial/cookie-params.md
# Parámetros de Cookie Puedes definir parámetros de Cookie de la misma manera que defines parámetros de `Query` y `Path`. ## Importar `Cookie` Primero importa `Cookie`: === "Python 3.10+" ```Python hl_lines="3" {!> ../../../docs_src/cookie_params/tutorial001_an_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="3" {!> ../../../docs_src/cookie_params/tutorial001_an_py39.py!} ```
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Apr 19 19:30:26 UTC 2024 - 2.4K bytes - Viewed (0) -
docs/pt/docs/tutorial/path-params-numeric-validations.md
!!! note "Detalhes Técnicos" Quando você importa `Query`, `Path` e outras de `fastapi`, elas são na verdade funções. Que quando chamadas, retornam instâncias de classes de mesmo nome. Então, você importa `Query`, que é uma função. E quando você a chama, ela retorna uma instância de uma classe também chamada `Query`.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Oct 17 05:59:11 UTC 2023 - 5.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/list_pgo_issue66218.txt
# add the [.ForMain] suffix. go list -f 'ImportPath: "{{.ImportPath}}", Imports: "{{.Imports}}", ImportMap: "{{.ImportMap}}"' m/a m/b cmp stdout want -- want -- ImportPath: "m/a", Imports: "[m/b [m/a]]", ImportMap: "map[m/b:m/b [m/a]]" ImportPath: "m/b", Imports: "[m/c]", ImportMap: "map[]" -- go.mod -- module m go 1.23 -- a/a.go -- package main import _ "m/b" -- a/default.pgo --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 615 bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_testing_databases_py310.py
import importlib import os from pathlib import Path import pytest from ...utils import needs_py310, needs_pydanticv1 @needs_py310 # TODO: pv2 add version with Pydantic v2 @needs_pydanticv1 def test_testing_dbs_py39(tmp_path_factory: pytest.TempPathFactory): tmp_path = tmp_path_factory.mktemp("data") cwd = os.getcwd() os.chdir(tmp_path) test_db = Path("./test.db") if test_db.is_file(): # pragma: nocover
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 825 bytes - Viewed (0) -
src/cmd/go/internal/modindex/index_test.go
path := filepath.Join("testdata", "ignore_non_source") p := importRaw(path, ".") wantFiles := []string{"a.syso", "b.go", "c.c"} var gotFiles []string for i := range p.sourceFiles { gotFiles = append(gotFiles, p.sourceFiles[i].name) } if !reflect.DeepEqual(gotFiles, wantFiles) { t.Errorf("names of files in importRaw(testdata/ignore_non_source): got %v; want %v", gotFiles, wantFiles) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 28 23:35:08 UTC 2022 - 2.3K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/export.go
func importfunc(s *types.Sym, t *types.Type) { fn := ir.NewFunc(src.NoXPos, src.NoXPos, s, t) importsym(fn.Nname) } // importvar declares symbol s as an imported variable with type t. func importvar(s *types.Sym, t *types.Type) { n := ir.NewNameAt(src.NoXPos, s, t) n.Class = ir.PEXTERN importsym(n) } func importsym(name *ir.Name) { sym := name.Sym()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 17 19:36:28 UTC 2023 - 838 bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_testing_databases.py
import importlib import os from pathlib import Path import pytest from ...utils import needs_pydanticv1 # TODO: pv2 add version with Pydantic v2 @needs_pydanticv1 def test_testing_dbs(tmp_path_factory: pytest.TempPathFactory): tmp_path = tmp_path_factory.mktemp("data") cwd = os.getcwd() os.chdir(tmp_path) test_db = Path("./test.db") if test_db.is_file(): # pragma: nocover test_db.unlink()
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 788 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/facts/imports.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package facts import ( "go/types" "golang.org/x/tools/internal/aliases" ) // importMap computes the import map for a package by traversing the // entire exported API each of its imports. // // This is a workaround for the fact that we cannot access the map used
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 3.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/list_cgo_compiled_importmap.txt
# Because the import of "runtime/cgo" in the cgo-generated file actually refers # to "runtime/cgo [runtime.test]", the latter should be listed in the ImportMap. # BUG(#46462): Today, it is not. go list -deps -test -compiled -f '{{if eq .ImportPath "net [runtime.test]"}}{{printf "%q" .ImportMap}}{{end}}' runtime stdout '"sync":"sync \[runtime\.test\]"' # control
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 27 22:26:09 UTC 2023 - 1.7K bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_testing_databases_py39.py
import importlib import os from pathlib import Path import pytest from ...utils import needs_py39, needs_pydanticv1 @needs_py39 # TODO: pv2 add version with Pydantic v2 @needs_pydanticv1 def test_testing_dbs_py39(tmp_path_factory: pytest.TempPathFactory): tmp_path = tmp_path_factory.mktemp("data") cwd = os.getcwd() os.chdir(tmp_path) test_db = Path("./test.db") if test_db.is_file(): # pragma: nocover
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 822 bytes - Viewed (0)