- Sort Score
- Result 10 results
- Languages All
Results 551 - 560 of 1,009 for schemes (0.06 sec)
-
schema/relationship_test.go
} checkStructRelation(t, &User{}, Relation{ Name: "Creators", Type: schema.HasMany, Schema: "User", FieldSchema: "User", References: []Reference{{"ID", "User", "CreatedBy", "User", "", true}}, }) user, err := schema.Parse(&User{}, &sync.Map{}, schema.NamingStrategy{}) if err != nil { t.Fatalf("failed to parse schema") } relSchema := user.Relationships.Relations["Creators"].FieldSchema
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Apr 15 03:20:20 UTC 2024 - 25.5K bytes - Viewed (0) -
internal/config/etcd/etcd.go
u, err := xnet.ParseHTTPURL(endpoint) if err != nil { return nil, false, err } if etcdSecure && u.Scheme == "http" { return nil, false, config.Errorf("all endpoints should be https or http: %s", endpoint) } // If one of the endpoint is https, we will use https directly. etcdSecure = etcdSecure || u.Scheme == "https" } return etcdEndpoints, etcdSecure, nil } // Enabled returns if etcd is enabled.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 28 23:17:22 UTC 2024 - 5.2K bytes - Viewed (0) -
docs/en/docs/advanced/path-operation-advanced-configuration.md
So, you could add additional data to the automatically generated schema. For example, you could decide to read and validate the request with your own code, without using the automatic features of FastAPI with Pydantic, but you could still want to define the request in the OpenAPI schema. You could do that with `openapi_extra`: ```Python hl_lines="19-36 39-40"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.6K bytes - Viewed (0) -
okhttp-android/src/androidTest/AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="okhttp.android.test"> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 20 06:48:45 UTC 2022 - 195 bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/NtlmFlags.java
*/ public static final int NTLMSSP_TARGET_TYPE_SHARE = 0x00040000; /** * Indicates that the NTLM2 signing and sealing scheme should be used * for protecting authenticated communications. This refers to a * particular session security scheme, and is not related to the use * of NTLMv2 authentication. */ public static final int NTLMSSP_NEGOTIATE_NTLM2 = 0x00080000;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 5.3K bytes - Viewed (0) -
callbacks/associations.go
"gorm.io/gorm" "gorm.io/gorm/clause" "gorm.io/gorm/schema" "gorm.io/gorm/utils" ) func SaveBeforeAssociations(create bool) func(db *gorm.DB) { return func(db *gorm.DB) { if db.Error == nil && db.Statement.Schema != nil { selectColumns, restricted := db.Statement.SelectAndOmitColumns(create, !create) // Save Belongs To associations for _, rel := range db.Statement.Schema.Relationships.BelongsTo {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Apr 11 03:06:13 UTC 2023 - 14.3K bytes - Viewed (0) -
cmd/auth-handler_test.go
URL: &url.URL{ Host: "127.0.0.1:9000", Scheme: httpScheme, Path: SlashSeparator, }, Header: http.Header{ "Authorization": []string{"Bearer 12313123"}, }, }, authT: authTypeJWT, }, // Test case - 3 // Empty authorization header. { req: &http.Request{ URL: &url.URL{ Host: "127.0.0.1:9000", Scheme: httpScheme, Path: SlashSeparator, },
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 15.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
.newBuilder() .scheme("https") .build().port, ).isEqualTo(443) assertThat( parse("https://example.com") .newBuilder() .scheme("http") .build().port, ).isEqualTo(80) assertThat( parse("https://example.com:1234") .newBuilder() .scheme("http") .build().port, ).isEqualTo(1234)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 67.9K bytes - Viewed (0) -
callbacks/create_test.go
"gorm.io/gorm" "gorm.io/gorm/clause" "gorm.io/gorm/schema" ) var schemaCache = &sync.Map{} func TestConvertToCreateValues_DestType_Slice(t *testing.T) { type user struct { ID int `gorm:"primaryKey"` Name string Email string `gorm:"default:(-)"` Age int `gorm:"default:(-)"` } s, err := schema.Parse(&user{}, schemaCache, schema.NamingStrategy{}) if err != nil {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Mar 18 05:48:42 UTC 2024 - 1.4K bytes - Viewed (0) -
migrator/table_type.go
) // TableType table type implements TableType interface type TableType struct { SchemaValue string NameValue string TypeValue string CommentValue sql.NullString } // Schema returns the schema of the table. func (ct TableType) Schema() string { return ct.SchemaValue } // Name returns the name of the table. func (ct TableType) Name() string { return ct.NameValue } // Type returns the type of the table.
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri May 05 07:58:27 UTC 2023 - 688 bytes - Viewed (0)