- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 115 for get_db (0.17 sec)
-
docs/em/docs/tutorial/sql-databases.md
``` โคด๏ธ ๐ฅ ๐ ๐ฃ *โก ๐ ๏ธ ๐ข* & ๐ ๐ต `async def`, โฎ๏ธ ๐ `def`,: ```Python hl_lines="2" @app.get("/users/{user_id}", response_model=schemas.User) def read_user(user_id: int, db: Session = Depends(get_db)): db_user = crud.get_user(db, user_id=user_id) ... ``` /// info ๐ฅ ๐ ๐ช ๐ ๐ ๐ ๐ฝ ๐, ๐ [๐ ๐ (๐) ๐ฝ](../advanced/async-sql-databases.md){.internal-link target=_blank}. ///
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 25K bytes - Viewed (0) -
docs/zh/docs/tutorial/sql-databases.md
``` ็ถๅๆไปฌๅบ่ฏฅๅฃฐๆ*่ทฏๅพๆไฝๅฝๆฐ*ๅไธๅธฆ ็ไพ่ตๅ ณ็ณป`async def`๏ผๅช้ไฝฟ็จๆฎ้็`def`๏ผๅฆไธ๏ผ ```Python hl_lines="2" @app.get("/users/{user_id}", response_model=schemas.User) def read_user(user_id: int, db: Session = Depends(get_db)): db_user = crud.get_user(db, user_id=user_id) ... ``` /// info ๅฆๆๆจ้่ฆๅผๆญฅ่ฟๆฅๅฐๅ ณ็ณปๆฐๆฎๅบ๏ผ่ฏทๅ้ [Async SQL (Relational) Databases](https://fastapi.tiangolo.com/zh/advanced/async-sql-databases/) ///
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 27.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java
return JDK_VERSION; } protected boolean canDetectActivation(Profile profile) { return profile.getActivation() != null && profile.getActivation().getJdk() != null && !profile.getActivation().getJdk().isEmpty(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java
import org.apache.maven.model.profile.ProfileActivationContext; /** * Determines profile activation based on the version of the current Java runtime. * * @see Activation#getJdk() * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead */ @Named("jdk-version") @Singleton @Deprecated(since = "4.0.0") public class JdkVersionProfileActivator implements ProfileActivator {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java
activation.setActiveByDefault(profileActivation.isActiveByDefault()); activation.setJdk(profileActivation.getJdk()); org.apache.maven.profiles.ActivationProperty profileProp = profileActivation.getProperty(); if (profileProp != null) { ActivationProperty prop = new ActivationProperty(); prop.setName(profileProp.getName());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java
problems.add(new DefaultSettingsProblem( "Legacy/insecurely encrypted password detected for server " + server.getId(), Severity.WARNING, "server: " + server.getId(), -1, -1, null)); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java
// currently processing the entry point - it should not have any entry incident edges res.getEntry().getMd().setWhy("This is a graph entry point. No links."); } else { // System.out.println("--->"+v.getMd().toDomainString() // +" has been terminated on this entry set\n-------------------\n" // +ins
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 25.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java
logger.warn( "Duplicated lifecycle phase {}. Defined in {} but also in {}", phase, original.getId(), lifecycle.getId()); } } if (lifecycle.getDelegate() != null) { for (org.apache.maven.api.Lifecycle.Alias alias :
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
if (!repos.containsKey(repo.getId())) { repos.put(repo.getId(), repo); } } for (ArtifactRepository repo : pomRepositories) { if (!repos.containsKey(repo.getId())) { repos.put(repo.getId(), repo); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0)