Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 656 for from (0.19 sec)

  1. fastapi/security/http.py

    import binascii
    from base64 import b64decode
    from typing import Optional
    
    from fastapi.exceptions import HTTPException
    from fastapi.openapi.models import HTTPBase as HTTPBaseModel
    from fastapi.openapi.models import HTTPBearer as HTTPBearerModel
    from fastapi.security.base import SecurityBase
    from fastapi.security.utils import get_authorization_scheme_param
    from pydantic import BaseModel
    from starlette.requests import Request
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Apr 19 15:29:38 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  2. docs_src/extra_data_types/tutorial001_an.py

    from datetime import datetime, time, timedelta
    from typing import Union
    from uuid import UUID
    
    from fastapi import Body, FastAPI
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.put("/items/{item_id}")
    async def read_items(
        item_id: UUID,
        start_datetime: Annotated[datetime, Body()],
        end_datetime: Annotated[datetime, Body()],
        process_after: Annotated[timedelta, Body()],
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Apr 19 00:11:40 GMT 2024
    - 830 bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/net.go

    		log.Errorf("failed to remove pod %s from host ipset, error was: %v", pod.Name, err)
    		return err
    	}
    
    	log.Debug("in pod mode - removing pod from ztunnel")
    	if err := s.ztunnelServer.PodDeleted(ctx, string(pod.UID)); err != nil {
    		log.Errorf("failed to delete pod from ztunnel: %v", err)
    	}
    	return nil
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  4. docs/en/docs/tutorial/bigger-applications.md

    This is because we also have another variable named `router` in the submodule `users`.
    
    If we had imported one after the other, like:
    
    ```Python
    from .routers.items import router
    from .routers.users import router
    ```
    
    the `router` from `users` would overwrite the one from `items` and we wouldn't be able to use them at the same time.
    
    So, to be able to use both of them in the same file, we import the submodules directly:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

         */
        @Nonnull
        Model getEffectiveModel();
    
        /**
         * Gets the specified raw model as it was read from a model source. Apart from basic validation, a raw model has not
         * undergone any updates by the model builder, e.g. reflects neither inheritance nor interpolation. The model
         * identifier should be from the collection obtained by {@link #getModelIds()}. As a special case, an empty string
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  6. docs_src/extra_data_types/tutorial001_an_py310.py

    from datetime import datetime, time, timedelta
    from typing import Annotated
    from uuid import UUID
    
    from fastapi import Body, FastAPI
    
    app = FastAPI()
    
    
    @app.put("/items/{item_id}")
    async def read_items(
        item_id: UUID,
        start_datetime: Annotated[datetime, Body()],
        end_datetime: Annotated[datetime, Body()],
        process_after: Annotated[timedelta, Body()],
        repeat_at: Annotated[time | None, Body()] = None,
    ):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Apr 19 00:11:40 GMT 2024
    - 788 bytes
    - Viewed (0)
  7. tests/test_jsonable_encoder.py

    from collections import deque
    from dataclasses import dataclass
    from datetime import datetime, timezone
    from decimal import Decimal
    from enum import Enum
    from pathlib import PurePath, PurePosixPath, PureWindowsPath
    from typing import Optional
    
    import pytest
    from fastapi._compat import PYDANTIC_V2, Undefined
    from fastapi.encoders import jsonable_encoder
    from pydantic import BaseModel, Field, ValidationError
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 9K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/sql-databases.md

    So, `orion_cat.owner.name` could be the name (from the `name` column in the `owners` table) of this pet's owner.
    
    It could have a value like `"Arquilian"`.
    
    And the ORM will do all the work to get the information from the corresponding table *owners* when you try to access it from your pet object.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  9. manifests/charts/base/crds/crd-all.gen.yaml

                                On a redirect, dynamically set the port: * FROM_PROTOCOL_DEFAULT: automatically set to 80 for HTTP and 443 for HTTPS.
    
                                Valid Options: FROM_PROTOCOL_DEFAULT, FROM_REQUEST_PORT
                              enum:
                              - FROM_PROTOCOL_DEFAULT
                              - FROM_REQUEST_PORT
                              type: string
                            port:
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 20:20:47 GMT 2024
    - 606.1K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblem.java

            V20,
            V30,
            V31,
            V40
        }
    
        /**
         * Gets the identifier of the model from which the problem originated. While the general form of this identifier is
         * <code>groupId:artifactId:version</code> the returned identifier need not be complete. The identifier is derived
         * from the information that is available at the point the problem occurs and as such merely serves as a best effort
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top