Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Nabors (0.22 sec)

  1. docs/fr/docs/async.md

    Si vous utilisez des bibliothèques tierces qui nécessitent d'être appelées avec `await`, telles que :
    
    ```Python
    results = await some_library()
    ```
    Alors, déclarez vos *fonctions de chemins* avec `async def` comme ceci :
    
    ```Python hl_lines="2"
    @app.get('/')
    async def read_results():
        results = await some_library()
        return results
    ```
    
    !!! note
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 24K bytes
    - Viewed (0)
  2. cmd/object-api-putobject_test.go

    	if err != nil {
    		// Failed to create newbucket, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    	// Creating a dummy bucket for tests.
    	err = obj.MakeBucket(context.Background(), "unused-bucket", MakeBucketOptions{})
    	if err != nil {
    		// Failed to create newbucket, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    	var (
    		nilBytes    []byte
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  3. docs/fr/docs/alternatives.md

    De nombreux outils ont été créés auparavant et ont contribué à inspirer sa création.
    
    J'ai évité la création d'un nouveau framework pendant plusieurs années. J'ai d'abord essayé de combler toutes les
    fonctionnalités couvertes par **FastAPI** en utilisant de nombreux frameworks, plug-ins et outils différents.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

              try {
                bytesRead = source.read(sink, byteCount)
              } catch (e: IOException) {
                if (!cacheRequestClosed) {
                  cacheRequestClosed = true
                  cacheRequest.abort() // Failed to write a complete cache response.
                }
                throw e
              }
    
              if (bytesRead == -1L) {
                if (!cacheRequestClosed) {
                  cacheRequestClosed = true
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Cache.kt

                super.close()
                editor.commit()
              }
            }
        }
    
        override fun abort() {
          synchronized(this@Cache) {
            if (done) return
            done = true
            writeAbortCount++
          }
          cacheOut.closeQuietly()
          try {
            editor.abort()
          } catch (_: IOException) {
          }
        }
    
        override fun body(): Sink = body
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  6. cmd/post-policy_test.go

    	// uploadIds [0].
    	// Create bucket before initiating NewMultipartUpload.
    	err := obj.MakeBucket(context.Background(), bucketName, MakeBucketOptions{})
    	if err != nil {
    		// Failed to create newbucket, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    	// Test cases for signature-V2.
    	testCasesV2 := []struct {
    		expectedStatus int
    		accessKey      string
    		secretKey      string
    	}{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  7. cmd/global-heal.go

    				bucket, humanize.Ordinal(er.setIndex+1))
    		}
    
    		disks, _, healing := er.getOnlineDisksWithHealingAndInfo(true)
    		if len(disks) == healing {
    			// All drives in this erasure set were reformatted for some reasons, abort healing and mark it as successful
    			healingLogIf(ctx, errors.New("all drives are in healing state, aborting.."))
    			return nil
    		}
    
    		disks = disks[:len(disks)-healing] // healing drives are always at the end of the list
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 15K bytes
    - Viewed (1)
  8. docs/fr/docs/python-types.md

    {!../../../docs_src/python_types/tutorial009.py!}
    ```
    
    Utiliser `Optional[str]` plutôt que `str` permettra à l'éditeur de vous aider à détecter les erreurs où vous supposeriez qu'une valeur est toujours de type `str`, alors qu'elle pourrait aussi être `None`.
    
    #### Types génériques
    
    Les types qui peuvent contenir des paramètres de types entre crochets, comme :
    
    * `List`
    * `Tuple`
    * `Set`
    * `Dict`
    * `Optional`
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  9. cmd/erasure-multipart.go

    	fi.IsLatest = true
    
    	// Success, return object info.
    	return fi.ToObjectInfo(bucket, object, opts.Versioned || opts.VersionSuspended), nil
    }
    
    // AbortMultipartUpload - aborts an ongoing multipart operation
    // signified by the input uploadID. This is an atomic operation
    // doesn't require clients to initiate multiple such requests.
    //
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  10. cmd/erasure-sets.go

    	set := s.getHashedSet(object)
    	return set.ListObjectParts(ctx, bucket, object, uploadID, partNumberMarker, maxParts, opts)
    }
    
    // Aborts an in-progress multipart operation on hashedSet based on the object name.
    func (s *erasureSets) AbortMultipartUpload(ctx context.Context, bucket, object, uploadID string, opts ObjectOptions) error {
    	set := s.getHashedSet(object)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 37.5K bytes
    - Viewed (5)
Back to top