Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for lastName (0.31 sec)

  1. tests/test_read_with_orm_mode.py

        person_data = {"name": "Dive", "lastname": "Wilson"}
        response = client.post("/people/", json=person_data)
        data = response.json()
        assert response.status_code == 200, response.text
        assert data["name"] == person_data["name"]
        assert data["lastname"] == person_data["lastname"]
        assert data["full_name"] == person_data["name"] + " " + person_data["lastname"]
    
    
    @needs_pydanticv1
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  2. tests/test_schema_extra_examples.py

        # @app.post("/form_examples")
        # def form_examples(
        #     lastname: str = Form(
        #         ...,
        #         examples={
        #             "example1": {"summary": "last name summary", "value": "Doe"},
        #             "example2": {"value": "Doesn't"},
        #         },
        #     ),
        # ):
        #     return lastname
    
        # @app.post("/form_example_examples")
        # def form_example_examples(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 37.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimap.java

     * for (President pres : US_PRESIDENTS_IN_ORDER) {
     *   multimap.put(pres.firstName(), pres.lastName());
     * }
     * for (String firstName : multimap.keySet()) {
     *   List<String> lastNames = multimap.get(firstName);
     *   out.println(firstName + ": " + lastNames);
     * }
     * }</pre>
     *
     * ... produces output such as:
     *
     * <pre>{@code
     * Zachary: [Taylor]
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  4. schema/naming.go

    		buf                            strings.Builder
    		lastCase, nextCase, nextNumber bool // upper case == true
    		curCase                        = value[0] <= 'Z' && value[0] >= 'A'
    	)
    
    	for i, v := range value[:len(value)-1] {
    		nextCase = value[i+1] <= 'Z' && value[i+1] >= 'A'
    		nextNumber = value[i+1] >= '0' && value[i+1] <= '9'
    
    		if curCase {
    			if lastCase && (nextCase || nextNumber) {
    				buf.WriteRune(v + 32)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

      fun truncateLastFrame(length: Int): Http2Writer {
        val lastFrame = outFrames.removeAt(outFrames.size - 1)
        require(length < bytesOut.size - lastFrame.start)
    
        // Move everything from bytesOut into a new buffer.
        val fullBuffer = Buffer()
        bytesOut.read(fullBuffer, bytesOut.size)
    
        // Copy back all but what we're truncating.
        fullBuffer.read(bytesOut, lastFrame.start + length)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/apiv4-repo/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.pom

          <archive>http://nagoya.apache.org/eyebrowse/SummarizeList?listName=******@****.***</archive>
        </mailingList>
        <mailingList>
          <name>Commons User List</name>
          <subscribe>******@****.***</subscribe>
          <unsubscribe>******@****.***</unsubscribe>
          <archive>http://nagoya.apache.org/eyebrowse/SummarizeList?listName=******@****.***</archive>
        </mailingList>
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  7. cmd/erasure.go

    		defer t.Stop()
    		defer saverWg.Done()
    		var lastSave time.Time
    
    		for {
    			select {
    			case <-t.C:
    				if cache.Info.LastUpdate.Equal(lastSave) {
    					continue
    				}
    				scannerLogOnceIf(ctx, cache.save(ctx, er, dataUsageCacheName), "nsscanner-cache-update")
    				updates <- cache.clone()
    
    				lastSave = cache.Info.LastUpdate
    			case v, ok := <-bucketResults:
    				if !ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  8. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

                if (f == null) {
                  throw new TimeoutException();
                }
                long now = System.nanoTime();
                timeoutNanos -= now - lastTime;
                lastTime = now;
              } else {
                f = futureQueue.take();
              }
            }
            if (f != null) {
              --active;
              try {
                return f.get();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
Back to top