Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1081 - 1090 of 1,756 for named (0.03 seconds)

  1. tests/test_tutorial/test_events/test_tutorial001.py

    import pytest
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(name="app", scope="module")
    def get_app():
        with pytest.warns(DeprecationWarning):
            from docs_src.events.tutorial001_py39 import app
        yield app
    
    
    def test_events(app: FastAPI):
        with TestClient(app) as client:
            response = client.get("/items/foo")
            assert response.status_code == 200, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  2. docs_src/request_files/tutorial003_an_py39.py

    
    @app.get("/")
    async def main():
        content = """
    <body>
    <form action="/files/" enctype="multipart/form-data" method="post">
    <input name="files" type="file" multiple>
    <input type="submit">
    </form>
    <form action="/uploadfiles/" enctype="multipart/form-data" method="post">
    <input name="files" type="file" multiple>
    <input type="submit">
    </form>
    </body>
        """
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 952 bytes
    - Click Count (0)
  3. utils/utils_unix_test.go

    // +build unix
    
    package utils
    
    import (
    	"testing"
    )
    
    func TestSourceDir(t *testing.T) {
    	cases := []struct {
    		file string
    		want string
    	}{
    		{
    			file: "/Users/name/go/pkg/mod/gorm.io/gorm@v1.2.3/utils/utils.go",
    			want: "/Users/name/go/pkg/mod/gorm.io/",
    		},
    		{
    			file: "/go/work/proj/gorm/utils/utils.go",
    			want: "/go/work/proj/gorm/",
    		},
    		{
    			file: "/go/work/proj/gorm_alias/utils/utils.go",
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Nov 21 02:48:13 GMT 2022
    - 731 bytes
    - Click Count (0)
  4. helm/minio/templates/NOTES.txt

    MinIO can be accessed via port {{ .Values.service.port }} on the following DNS name from within your cluster:
    {{ template "minio.fullname" . }}.{{ .Release.Namespace }}.{{ .Values.clusterDomain }}
    
    To access MinIO from localhost, run the below commands:
    
      1. export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  5. .teamcity/src/main/kotlin/model/PerformanceTestSpec.kt

        override fun asName(): String = "${type.displayName} - ${os.asName()}"
    
        override fun channel() = "${type.channel}${if (os == Os.LINUX) "" else "-${os.name.lowercase(Locale.US)}"}-%teamcity.build.branch%"
    }
    
    data class FlameGraphGeneration(
        private val uuid: Int,
        private val name: String,
        private val scenarios: List<PerformanceScenario>,
    ) : PerformanceTestProjectSpec {
        override val os: Os = Os.LINUX
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  6. src/cmd/asm/internal/arch/ppc64.go

    		ppc64.ASUBME, ppc64.ASUBZECC, ppc64.ASUBZEVCC, ppc64.ASUBZEV,
    		ppc64.ASUBZE:
    		return true
    	}
    	return false
    }
    
    func ppc64RegisterNumber(name string, n int16) (int16, bool) {
    	switch name {
    	case "CR":
    		if 0 <= n && n <= 7 {
    			return ppc64.REG_CR0 + n, true
    		}
    	case "A":
    		if 0 <= n && n <= 8 {
    			return ppc64.REG_A0 + n, true
    		}
    	case "VS":
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Nov 21 18:27:17 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  7. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

        public boolean requiresOnline() {
            return onlineRequired;
        }
    
        /**
         * @return the bound phase name of the Mojo
         */
        public String getPhase() {
            return phase;
        }
    
        /**
         * @param phase the new bound phase name of the Mojo
         */
        public void setPhase(String phase) {
            this.phase = phase;
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  8. compat/maven-compat/src/test/resources/inheritance-repo/t06/p0/p1/pom.xml

        <groupId>maven-t06</groupId>
        <version>1.0</version>
      </parent>
      <modelVersion>4.0.0</modelVersion>
      <groupId>maven-t06</groupId>
      <artifactId>p1</artifactId>
      <packaging>pom</packaging>
      <name>p1</name>
      <version>1.0</version>
      <scm>
        <url>scm-url</url>
      </scm>
      <dependencyManagement>
        <dependencies>
          <dependency>
            <groupId>maven-test</groupId>
            <artifactId>t06-b</artifactId>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  9. docs/ko/docs/tutorial/dependencies/classes-as-dependencies.md

    상기와 같은 방식으로 "호출(실행)" 할 수 있다면 "호출 가능"이 됩니다.
    
    ## 의존성으로서의 클래스
    
    파이썬 클래스의 인스턴스를 생성하기 위해 사용하는 것과 동일한 문법을 사용한다는 걸 알 수 있습니다.
    
    예를 들어:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    이 경우에 `fluffy`는 클래스 `Cat`의 인스턴스입니다. 그리고 우리는 `fluffy`를 만들기 위해서 `Cat`을 "호출"했습니다.
    
    따라서, 파이썬 클래스는 **호출 가능**합니다.
    
    그래서 **FastAPI**에서는 파이썬 클래스를 의존성으로 사용할 수 있습니다.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 6.7K bytes
    - Click Count (0)
  10. ci/official/utilities/extract_resultstore_links.py

          ElemTree.SubElement(properties, 'property',
                              name='description',
                              value=success_msg)
          if command:
            ElemTree.SubElement(properties, 'property',
                                name='bazel_command',
                                value=command)
    
        suite_specific = {'tests': str(len(result_store_dict)),
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Click Count (0)
Back to Top