Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1941 - 1950 of 4,618 for alse (0.02 sec)

  1. docs/en/docs/tutorial/response-model.md

    And tools will also be happy because both `RedirectResponse` and `JSONResponse` are subclasses of `Response`, so the type annotation is correct.
    
    ### Annotate a Response Subclass
    
    You can also use a subclass of `Response` in the type annotation:
    
    ```Python hl_lines="8-9"
    {!> ../../docs_src/response_model/tutorial003_03.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/StringConversionUtil.java

            if (value == null) {
                return null;
            } else if (value instanceof String) {
                return (String) value;
            } else if (value instanceof java.util.Date) {
                return toString((java.util.Date) value, pattern);
            } else if (value instanceof Number) {
                return toString((Number) value, pattern);
            } else if (value instanceof byte[]) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. clause/select.go

    			}
    			builder.WriteQuoted(column)
    		}
    	} else {
    		builder.WriteByte('*')
    	}
    }
    
    func (s Select) MergeClause(clause *Clause) {
    	if s.Expression != nil {
    		if s.Distinct {
    			if expr, ok := s.Expression.(Expr); ok {
    				expr.SQL = "DISTINCT " + expr.SQL
    				clause.Expression = expr
    				return
    			}
    		}
    
    		clause.Expression = s.Expression
    	} else {
    		clause.Expression = s
    	}
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jul 14 07:51:24 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  4. .junit.run/Not Slow.run.xml

    <component name="ProjectRunConfigurationManager">
      <configuration default="false" name="Not Slow" type="JUnit" factoryName="JUnit" singleton="false">
        <useClassPathOnly />
        <option name="MAIN_CLASS_NAME" value="" />
        <option name="METHOD_NAME" value="" />
        <option name="TEST_OBJECT" value="tags" />
        <option name="VM_PARAMETERS" value="-ea -Djunit.jupiter.extensions.autodetection.enabled=true" />
        <option name="PARAMETERS" value="" />
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Nov 21 13:28:45 UTC 2020
    - 730 bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt

        // This client fails to connect because the new SSL socket factory refuses.
        assertFailsWith<IOException> {
          anotherClient.newCall(request).execute()
        }.also { expected ->
          when (expected) {
            is SSLException, is TlsFatalAlert -> {}
            else -> throw expected
          }
        }
      }
    
      @Test
      fun connectionsAreNotReusedIfHostnameVerifierChanges() {
        enableHttps()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. istioctl/pkg/injector/injector-list.go

    		revisionLabel := revision
    		if revision == "" {
    			revisionLabel = "<non-Istio>"
    		}
    		counts := retval[revisionLabel]
    		counts.pods++
    		if injectionDisabled(&pod) {
    			counts.disabled++
    		} else if revision != expectedRevision {
    			counts.needsRestart++
    		}
    		retval[revisionLabel] = counts
    	}
    	return retval
    }
    
    func extractRevisionFromPod(pod *corev1.Pod) string {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Oct 18 11:39:52 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/envoy/configdump/configdump_test.go

    				if tt.wantConfigs != 0 {
    					t.Errorf("wanted some configs loaded but config dump was nil")
    				}
    			} else if len(cw.configDump.Configs) != tt.wantConfigs {
    				t.Errorf("wanted %v configs loaded in got %v", tt.wantConfigs, len(cw.configDump.Configs))
    			}
    			if tt.wantErr {
    				assert.Error(t, err)
    			} else {
    				assert.NoError(t, err)
    			}
    		})
    	}
    }
    
    func TestConfigWriter_PrintBootstrapDump(t *testing.T) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jan 03 23:08:06 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. cni/pkg/util/podutil_test.go

    			args: args{
    				namespace: unlabelledNamespace,
    				pod:       unlabelledPod,
    			},
    			want: false,
    		},
    		{
    			name: "pod has sidecar and namespace has ambient enabled",
    			args: args{
    				namespace: namespaceWithAmbientEnabledLabel,
    				pod:       podWithSidecar,
    			},
    			want: false,
    		},
    		{
    			name: "pod has label to disable ambient redirection",
    			args: args{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/MultipartReaderTest.kt

          )
    
        val partAbc = parts.nextPart()!!
        val partMno = parts.nextPart()!!
    
        assertFailsWith<IllegalStateException> {
          partAbc.body.request(20)
        }.also { expected ->
          assertThat(expected).hasMessage("closed")
        }
    
        assertThat(partMno.body.readUtf8()).isEqualTo("mnop")
        assertThat(parts.nextPart()).isNull()
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. istioctl/pkg/config/config.go

    	"insecure":            env.Register("ISTIOCTL_INSECURE", false, "The istioctl --insecure override"),
    	"prefer-experimental": env.Register("ISTIOCTL_PREFER_EXPERIMENTAL", false, "The istioctl should use experimental subcommand variants"),
    	"plaintext":           env.Register("ISTIOCTL_PLAINTEXT", false, "The istioctl --plaintext override"),
    }
    
    // Cmd represents the config subcommand command
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sun Jul 30 12:16:07 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top