- Sort Score
- Num 10 results
- Language All
Results 711 - 720 of 1,669 for paths (0.02 seconds)
-
internal/lock/lock_nix.go
Op: "open", Path: path, Err: syscall.EINVAL, } } f, err := os.OpenFile(path, flag|syscall.O_SYNC, perm) if err != nil { return nil, err } if err = syscall.Flock(int(f.Fd()), lockType); err != nil { f.Close() if err == syscall.EWOULDBLOCK { err = ErrAlreadyLocked } return nil, err } st, err := os.Stat(path) if err != nil { f.Close()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 2.8K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTest.java
</extensions> """; Path dotMvn = cwd.resolve(".mvn"); Files.createDirectories(dotMvn); Path projectExtensions = dotMvn.resolve("extensions.xml"); Files.writeString(projectExtensions, extensionsXml); Path userConf = userHome.resolve(".m2"); Files.createDirectories(userConf); Path userExtensions = userConf.resolve("extensions.xml");Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Oct 21 12:17:55 GMT 2025 - 9.3K bytes - Click Count (0) -
docs/es/docs/tutorial/dependencies/global-dependencies.md
Similar a como puedes [agregar `dependencies` a los *path operation decorators*](dependencies-in-path-operation-decorators.md){.internal-link target=_blank}, puedes agregarlos a la aplicación de `FastAPI`. En ese caso, se aplicarán a todas las *path operations* en la aplicación: {* ../../docs_src/dependencies/tutorial012_an_py39.py hl[17] *}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.2K bytes - Click Count (0) -
docs/zh/docs/tutorial/body-fields.md
`Field` 的工作方式和 `Query`、`Path`、`Body` 相同,参数也相同。 /// note | 技术细节 实际上,`Query`、`Path` 都是 `Params` 的子类,而 `Params` 类又是 Pydantic 中 `FieldInfo` 的子类。 Pydantic 的 `Field` 返回也是 `FieldInfo` 的类实例。 `Body` 直接返回的也是 `FieldInfo` 的子类的对象。后文还会介绍一些 `Body` 的子类。 注意,从 `fastapi` 导入的 `Query`、`Path` 等对象实际上都是返回特殊类的函数。 /// /// tip | 提示 注意,模型属性的类型、默认值及 `Field` 的代码结构与*路径操作函数*的参数相同,只不过是用 `Field` 替换了`Path`、`Query`、`Body`。 /// ## 添加更多信息
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 1.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java
* used primarily for error messages and debugging. * <p> * Examples of locations: * <ul> * <li>Absolute file path: {@code /path/to/pom.xml}</li> * <li>Relative file path: {@code ../parent/pom.xml}</li> * <li>URL: {@code https://repo.maven.org/.../pom.xml}</li> * <li>Description: {@code <memory>} or {@code <database>}</li> * </ul> *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 29 09:46:53 GMT 2025 - 4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java
.build(); Files.writeString(parentPom, parentPomContent); // Create module directory and POM Path moduleDir = tempDir.resolve("module1"); Files.createDirectories(moduleDir); Path modulePom = moduleDir.resolve("pom.xml"); String modulePomContent = PomBuilder.create() .parent("com.example", "parent-project", "1.0.0")
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 9.3K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java
} /** @return the path */ public String getPath() { return this.path; } public List<ArtifactRepository> getRemoteRepositories() { return remoteRepositories; } public String getOriginalMessage() { return originalMessage; } protected static String constructArtifactPath(List<String> path, String indentation) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Apr 01 21:22:14 GMT 2025 - 10.1K bytes - Click Count (0) -
docs/es/docs/advanced/security/oauth2-scopes.md
/// {* ../../docs_src/security/tutorial005_an_py310.py hl[157] *} ## Declarar scopes en *path operations* y dependencias { #declare-scopes-in-path-operations-and-dependencies } Ahora declaramos que la *path operation* para `/users/me/items/` requiere el scope `items`. Para esto, importamos y usamos `Security` de `fastapi`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 10:15:01 GMT 2025 - 14.2K bytes - Click Count (0) -
tests/test_datastructures.py
placeholder_a = Default("a") placeholder_b = Default("") assert placeholder_a assert not placeholder_b def test_upload_file_is_closed(tmp_path: Path): path = tmp_path / "test.txt" path.write_bytes(b"<file content>") app = FastAPI() testing_file_store: list[UploadFile] = [] @app.post("/uploadfile/") def create_upload_file(file: UploadFile):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 1.8K bytes - Click Count (0) -
docs/es/docs/tutorial/query-params.md
## Múltiples parámetros de path y de query { #multiple-path-and-query-parameters } Puedes declarar múltiples parámetros de path y de query al mismo tiempo, **FastAPI** sabe cuál es cuál. Y no tienes que declararlos en un orden específico. Serán detectados por nombre:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.8K bytes - Click Count (0)