- Sort Score
- Num 10 results
- Language All
Results 651 - 660 of 1,239 for Creates (0.04 seconds)
-
tests/group_by_test.go
Age: 220, Birthday: Now(), Active: true, }, { Name: "groupby1", Age: 330, Birthday: Now(), Active: true, }} if err := DB.Create(&users).Error; err != nil { t.Errorf("errors happened when create: %v", err) } var name string var total int if err := DB.Model(&User{}).Select("name, sum(age)").Where("name = ?", "groupby").Group("name").Row().Scan(&name, &total); err != nil {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Jan 06 07:02:53 GMT 2022 - 3.3K bytes - Click Count (0) -
cmd/fmt-gen.go
pools, _, err := createServerEndpoints(globalMinioAddr, globalServerCtxt.Layout.pools, globalServerCtxt.Layout.legacy) if err != nil { log.Fatalln(err) } zipFile, err := os.Create("format.json.zip") if err != nil { log.Fatalf("failed to create format.json.zip: %v", err) } defer zipFile.Close() fmtZipW := zip.NewWriter(zipFile) defer fmtZipW.Close() for _, pool := range pools { // for each pool
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.7K bytes - Click Count (0) -
build-logic-commons/code-quality-rules/src/main/resources/checkstyle/checkstyle-groovy.xml
</module> <module name="RegexpSingleline"> <property name="format" value="File \| Settings \| File Templates"/> </module> <module name="RegexpSingleline"> <property name="format" value="Created with IntelliJ IDEA"/> </module> <module name="RegexpSingleline"> <property name="format" value="^\s*\*\s*@author"/> </module>Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 1.4K bytes - Click Count (0) -
docs_src/response_change_status_code/tutorial001_py39.py
from fastapi import FastAPI, Response, status app = FastAPI() tasks = {"foo": "Listen to the Bar Fighters"} @app.put("/get-or-create-task/{task_id}", status_code=200) def get_or_create_task(task_id: str, response: Response): if task_id not in tasks: tasks[task_id] = "This didn't exist before" response.status_code = status.HTTP_201_CREATED
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 391 bytes - Click Count (0) -
docs/en/docs/tutorial/metadata.md
* `description`: a `str` with a short description for the external docs. * `url` (**required**): a `str` with the URL for the external documentation. ### Create metadata for tags { #create-metadata-for-tags } Let's try that in an example with tags for `users` and `items`. Create metadata for your tags and pass it to the `openapi_tags` parameter: {* ../../docs_src/metadata/tutorial004_py39.py hl[3:16,18] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 5.9K bytes - Click Count (0) -
docs_src/metadata/tutorial001_py39.py
from fastapi import FastAPI description = """ ChimichangApp API helps you do awesome stuff. 🚀 ## Items You can **read items**. ## Users You will be able to: * **Create users** (_not implemented_). * **Read users** (_not implemented_). """ app = FastAPI( title="ChimichangApp", description=description, summary="Deadpool's favorite app. Nuff said.", version="0.0.1",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 805 bytes - Click Count (0) -
build-logic-commons/gradle-plugin/build.gradle.kts
import org.gradle.kotlin.dsl.support.expectedKotlinDslPluginsVersion plugins { `kotlin-dsl` } group = "gradlebuild" description = "Provides plugins used to create a Gradle plugin with Groovy or Kotlin DSL within build-logic builds" dependencies { compileOnly("com.gradle:develocity-gradle-plugin") api(platform(projects.buildPlatform)) implementation(projects.basics) implementation(projects.moduleIdentity)Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Aug 20 10:00:10 GMT 2025 - 932 bytes - Click Count (0) -
tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 8.6K bytes - Click Count (0) -
docs/en/docs/tutorial/debugging.md
Let's say your file is named `myapp.py`. If you run it with: <div class="termy"> ```console $ python myapp.py ``` </div> then the internal variable `__name__` in your file, created automatically by Python, will have as value the string `"__main__"`. So, the section: ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` will run. ---
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 2.4K bytes - Click Count (0) -
cmd/signature-v4-utils_test.go
ucreds, err := auth.CreateCredentials("myuser1", "mypassword1") if err != nil { t.Fatalf("unable create credential, %s", err) } _, err = globalIAMSys.CreateUser(ctx, ucreds.AccessKey, madmin.AddOrUpdateUserReq{ SecretKey: ucreds.SecretKey, Status: madmin.AccountEnabled, }) if err != nil { t.Fatalf("unable create credential, %s", err) } _, owner, s3Err = checkKeyValid(req, ucreds.AccessKey)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 14.3K bytes - Click Count (0)