Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 40 for City (0.02 seconds)

  1. tests/test_file_and_form_order_issue_9116.py

    
    @app.post("/file_before_form")
    def file_before_form(
        file: bytes = File(),
        city: str = Form(),
    ):
        return {"file_content": file, "city": city}
    
    
    @app.post("/file_after_form")
    def file_after_form(
        city: str = Form(),
        file: bytes = File(),
    ):
        return {"file_content": file, "city": city}
    
    
    @app.post("/file_list_before_form")
    def file_list_before_form(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  2. tests/error_translator_test.go

    		return
    	}
    
    	DB.Migrator().DropTable(&City{}, &Museum{})
    
    	if err = db.AutoMigrate(&City{}, &Museum{}); err != nil {
    		t.Fatalf("failed to migrate countries & cities tables, got error: %v", err)
    	}
    
    	city := City{Name: "Amsterdam"}
    
    	err = db.Create(&city).Error
    	if err != nil {
    		t.Fatalf("failed to create city: %v", err)
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  3. tests/test_get_model_definitions_formfeed_escape.py

            """
    
            line_1: str
            city: str
            state_province: str
    
        class Facility(BaseModel):
            id: str
            address: Address
    
        app = FastAPI()
    
        @app.get("/facilities/{facility_id}")
        def get_facility(facility_id: str) -> Facility:
            return Facility(
                id=facility_id,
                address=Address(line_1="123 Main St", city="Anytown", state_province="CA"),
            )
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 14:34:02 GMT 2026
    - 6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

       * graphs. Example:
       *
       * {@snippet :
       * static final ImmutableValueGraph<City, Distance> CITY_ROAD_DISTANCE_GRAPH =
       *     ValueGraphBuilder.undirected()
       *         .<City, Distance>immutable()
       *         .putEdgeValue(PARIS, BERLIN, kilometers(1060))
       *         .putEdgeValue(PARIS, BRUSSELS, kilometers(317))
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/graph/ImmutableNetwork.java

       * networks. Example:
       *
       * {@snippet :
       * static final ImmutableNetwork<City, Train> TRAIN_NETWORK =
       *     NetworkBuilder.undirected()
       *         .allowsParallelEdges(true)
       *         .<City, Train>immutable()
       *         .addEdge(PARIS, BRUSSELS, Thalys.trainNumber("1111"))
       *         .addEdge(PARIS, BRUSSELS, RegionalTrain.trainNumber("2222"))
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

     * factory method to construct instances can have their instance methods checked. For example:
     *
     * <pre>
     * public class Address {
     *   private final String city;
     *   private final String state;
     *   private final String zipcode;
     *
     *   public Address(String city, String state, String zipcode) {...}
     *
     *   {@literal @Override} public boolean equals(Object obj) {...}
     *   {@literal @Override} public int hashCode() {...}
     *   ...
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  7. internal/s3select/csv/reader_contrib_test.go

    3389229,2,2014-03-07 09:46:32,2014-03-07 09:55:01,N,1,-73.952301025390625,40.789798736572266,-73.935806274414062,40.794448852539063,1,1.67,8,0,0.5,2,0,,,10.5,1,1,75,74,green,0.00,3.9,0.0,37,26,7.83,1267,168,1,Manhattan,016800,1016800,E,MN33,East...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  8. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.ci-reporting.gradle.kts

    import org.gradle.kotlin.dsl.support.serviceOf
    
    /**
     * When run from a Continuous Integration environment, we only want to archive a subset of reports, mostly for
     * failing tasks only, to not use up unnecessary disk space on Team City. This also improves the performance of
     * artifact publishing by reducing the artifacts and packaging reports that consist of multiple files.
     *
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 11 09:36:42 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java

            assertEquals("user", roles.get(1));
        }
    
        @Test
        public void test_parseJwtClaim_nestedObject() throws IOException {
            final String jwtClaim = "{\"address\":{\"street\":\"123 Main St\",\"city\":\"Springfield\"}}";
            final Map<String, Object> attributes = new HashMap<>();
    
            authenticator.parseJwtClaim(jwtClaim, attributes);
    
            assertTrue(attributes.get("address") instanceof Map);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 11K bytes
    - Click Count (0)
  10. internal/s3select/select_benchmark_test.go

    		b[i] = charset[randSrc.Intn(len(charset))]
    	}
    	return string(b)
    }
    
    func genSampleCSVData(count int) []byte {
    	buf := &bytes.Buffer{}
    	csvWriter := csv.NewWriter(buf)
    	csvWriter.Write([]string{"id", "name", "age", "city"})
    
    	for i := range count {
    		csvWriter.Write([]string{
    			strconv.Itoa(i),
    			newRandString(10),
    			newRandString(5),
    			newRandString(10),
    		})
    	}
    
    	csvWriter.Flush()
    	return buf.Bytes()
    }
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5K bytes
    - Click Count (0)
Back to Top