Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 291 for udpate (0.22 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

          val stream = streams.remove(streamId)
    
          // The removed stream may be blocked on a connection-wide window update.
          condition.signalAll()
    
          return stream
        }
      }
    
      internal fun updateConnectionFlowControl(read: Long) {
        this.withLock {
          readBytes.update(total = read)
          val readBytesToAcknowledge = readBytes.unacknowledged
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

                .build()
    
            networkResponse.body.close()
    
            // Update the cache after combining headers but before stripping the
            // Content-Encoding header (as performed by initContentStream()).
            cache!!.trackConditionalCacheHit()
            cache.update(cacheResponse, response)
            return response.also {
              listener.cacheHit(call, it)
            }
          } else {
    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)
  3. docs/en/docs/tutorial/security/simple-oauth2.md

        It's almost the only thing that you have to remember to do correctly yourself, to be compliant with the specifications.
    
        For the rest, **FastAPI** handles it for you.
    
    ## Update the dependencies
    
    Now we are going to update our dependencies.
    
    We want to get the `current_user` *only* if this user is active.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

            timeZone = utc
            set2DigitYearStart(Date(-631152000000L)) // 1950-01-01T00:00:00Z.
          }
    
        try {
          val parsed = dateFormat.parse(string)
          return parsed.time
        } catch (e: ParseException) {
          throw ProtocolException("Failed to parse UTCTime $string")
        }
      }
    
      internal fun formatUtcTime(date: Long): String {
        val utc = TimeZone.getTimeZone("GMT")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Viewed (0)
  5. README.md

        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    def update_item(item_id: int, item: Item):
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    The `fastapi dev` server should reload automatically.
    
    ### Interactive API docs upgrade
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/security/oauth2-scopes.md

        But when you import `Query`, `Path`, `Depends`, `Security` and others from `fastapi`, those are actually functions that return special classes.
    
    ## Use `SecurityScopes`
    
    Now update the dependency `get_current_user`.
    
    This is the one used by the dependencies above.
    
    Here's were we are using the same OAuth2 scheme we created before, declaring it as a dependency: `oauth2_scheme`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/certificates/v1/generated.proto

      optional string reason = 2;
    
      // message contains a human readable message with details about the request state
      // +optional
      optional string message = 3;
    
      // lastUpdateTime is the time of the last update to this condition
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastUpdateTime = 4;
    
      // lastTransitionTime is the time the condition last transitioned from one status to another.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  8. docs/pl/docs/features.md

    Wystarczy, że napiszesz standardowe deklaracje typów Pythona:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Zadeklaruj parametr jako str
    # i uzyskaj wsparcie edytora wewnątrz funkcji
    def main(user_id: str):
        return user_id
    
    
    # Model Pydantic
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    A one będą mogły zostać później użyte w następujący sposób:
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  9. docs/ru/docs/features.md

    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Объявляем параметр user_id с типом `str`
    # и получаем поддержку редактора внутри функции
    def main(user_id: str):
        return user_id
    
    
    # Модель Pydantic
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    Это можно использовать так:
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  10. docs/es/docs/features.md

    Escribes Python estándar con tipos así:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declaras la variable como un str
    # y obtienes soporte del editor dentro de la función
    def main(user_id: str):
        return user_id
    
    
    # Un modelo de Pydantic
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    Este puede ser usado como:
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.9K bytes
    - Viewed (0)
Back to top