Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 6,887 for unse (0.04 sec)

  1. architecture/standards/0002-avoid-using-java-serialization.md

    ## Decision
    
    We do not use Java serialization.
    Instead, we use custom serialization where we explicitly describe how data objects should be serialized and deserialized.
    
    For internal purposes, we use binary formats for their brevity.
    We use the `Serializer` abstraction to separate the actual implementation of serialization from its uses.
    
    When sharing data with external tools, we use JSON.
    
    ## Status
    
    ACCEPTED
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Feb 29 22:32:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/cmd/api/testdata/src/pkg/p1/p1.go

    type myInt int
    
    type MyInt int
    
    type Time struct{}
    
    type S struct {
    	// Deprecated: use PublicTime.
    	Public     *int
    	private    *int
    	PublicTime Time
    }
    
    // Deprecated: use URI.
    type URL struct{}
    
    type EmbedURLPtr struct {
    	*URL
    }
    
    type S2 struct {
    	// Deprecated: use T.
    	S
    	Extra bool
    }
    
    var X0 int64
    
    var (
    	Y int
    	X I
    )
    
    type Namer interface {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/dataclasses.md

    /// info
    
    Keep in mind that dataclasses can't do everything Pydantic models can do.
    
    So, you might still need to use Pydantic models.
    
    But if you have a bunch of dataclasses laying around, this is a nice trick to use them to power a web API using FastAPI. 🤓
    
    ///
    
    ## Dataclasses in `response_model`
    
    You can also use `dataclasses` in the `response_model` parameter:
    
    {* ../../docs_src/dataclasses/tutorial002.py hl[1,7:13,19] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:35:06 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/eventbus/AsyncEventBus.java

    @ElementTypesAreNonnullByDefault
    public class AsyncEventBus extends EventBus {
    
      /**
       * Creates a new AsyncEventBus that will use {@code executor} to dispatch events. Assigns {@code
       * identifier} as the bus's name for logging purposes.
       *
       * @param identifier short name for the bus, for logging purposes.
       * @param executor Executor to use to dispatch events. It is the caller's responsibility to shut
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:05:46 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  5. tests/test_serialize_response_model.py

            "k3": Item(aliased_name="baz", price=2.0, owner_ids=[1, 2, 3]),
        }
    
    
    @app.get(
        "/items/valid-exclude-unset", response_model=Item, response_model_exclude_unset=True
    )
    def get_valid_exclude_unset():
        return Item(aliased_name="valid", price=1.0)
    
    
    @app.get(
        "/items/coerce-exclude-unset",
        response_model=Item,
        response_model_exclude_unset=True,
    )
    def get_coerce_exclude_unset():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    ///
    
    /// info
    
    In this example we use invented custom headers `X-Key` and `X-Token`.
    
    But in real cases, when implementing security, you would get more benefits from using the integrated [Security utilities (the next chapter)](../security/index.md){.internal-link target=_blank}.
    
    ///
    
    ## Dependencies errors and return values
    
    You can use the same dependency *functions* you use normally.
    
    ### Dependency requirements
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/networking/v1beta1/generated.proto

      optional string scope = 4;
    
      // namespace is the namespace of the resource being referenced. This field is
      // required when scope is set to "Namespace" and must be unset when scope is set to
      // "Cluster".
      // +optional
      optional string namespace = 5;
    }
    
    // IngressClassSpec provides information about the class of an Ingress.
    message IngressClassSpec {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  8. docs/fr/docs/tutorial/path-params-numeric-validations.md

    Mais vous avez toujours besoin d'utiliser `Path` pour le paramètre de chemin `item_id`. Et vous ne voulez pas utiliser `Annotated` pour une raison quelconque.
    
    Python se plaindra si vous mettez une valeur avec une "défaut" avant une valeur qui n'a pas de "défaut".
    
    Mais vous pouvez les réorganiser, et avoir la valeur sans défaut (le paramètre de requête `q`) en premier.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:32:37 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. docs/en/docs/virtual-environments.md

    ///
    
    //// tab | `venv`
    
    To create a virtual environment, you can use the `venv` module that comes with Python.
    
    <div class="termy">
    
    ```console
    $ python -m venv .venv
    ```
    
    </div>
    
    /// details | What that command means
    
    * `python`: use the program called `python`
    * `-m`: call a module as a script, we'll tell it which module next
    * `venv`: use the module called `venv` that normally comes installed with Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 24 03:16:23 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  10. docs/recipes.md

    When writing request headers, use `header(name, value)` to set the only occurrence of `name` to `value`. If there are existing values, they will be removed before the new value is added. Use `addHeader(name, value)` to add a header without removing the headers already present.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
Back to top