Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 5411 - 5420 of 7,991 for Export (0.06 seconds)

  1. tests/test_required_noneable.py

    from typing import Union
    
    from fastapi import Body, FastAPI, Query
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/query")
    def read_query(q: Union[str, None]):
        return q
    
    
    @app.get("/explicit-query")
    def read_explicit_query(q: Union[str, None] = Query()):
        return q
    
    
    @app.post("/body-embed")
    def send_body_embed(b: Union[str, None] = Body(embed=True)):
        return b
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat May 14 19:08:31 GMT 2022
    - 1.5K bytes
    - Click Count (0)
  2. .teamcity/src/main/kotlin/promotion/PublishNightlyDocumentation.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package promotion
    
    import common.VersionedSettingsBranch
    import jetbrains.buildServer.configs.kotlin.triggers.schedule
    import model.StageName
    
    class PublishNightlyDocumentation(
        branch: VersionedSettingsBranch,
    ) : PublishGradleDistributionFullBuild(
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 29 08:57:18 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  3. docs_src/body_multiple_params/tutorial004_py310.py

    from fastapi import Body, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    class User(BaseModel):
        username: str
        full_name: str | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Item,
        user: User,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Mar 10 18:49:18 GMT 2023
    - 603 bytes
    - Click Count (0)
  4. docs_src/dependencies/tutorial004_py39.py

    from typing import Union
    
    from fastapi import Depends, FastAPI
    
    app = FastAPI()
    
    
    fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz"}]
    
    
    class CommonQueryParams:
        def __init__(self, q: Union[str, None] = None, skip: int = 0, limit: int = 100):
            self.q = q
            self.skip = skip
            self.limit = limit
    
    
    @app.get("/items/")
    async def read_items(commons: CommonQueryParams = Depends()):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 639 bytes
    - Click Count (0)
  5. fastapi/middleware/asyncexitstack.py

    from contextlib import AsyncExitStack
    
    from starlette.types import ASGIApp, Receive, Scope, Send
    
    
    # Used mainly to close files after the request is done, dependencies are closed
    # in their own AsyncExitStack
    class AsyncExitStackMiddleware:
        def __init__(
            self, app: ASGIApp, context_name: str = "fastapi_middleware_astack"
        ) -> None:
            self.app = app
            self.context_name = context_name
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 03:29:38 GMT 2025
    - 637 bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/NotifyResponse.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal;
    
    import java.util.List;
    
    import jcifs.FileNotifyInformation;
    
    /**
     * Interface for SMB change notification response messages.
     * Handles responses from directory change notification requests, providing information
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/IsProbablyUtf8.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal
    
    import java.io.EOFException
    import okio.BufferedSource
    
    /**
     * Returns true if the body in question probably contains human-readable text. Uses a small
     * sample of code points to detect Unicode control characters commonly used in binary file
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Oct 06 22:47:06 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/UnhashableObject.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An unhashable object to be used in testing as values in our collections.
     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Apr 10 20:12:40 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/version/internal/DefaultPluginVersionResult.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.plugin.version.internal;
    
    import org.apache.maven.plugin.version.PluginVersionResult;
    import org.eclipse.aether.repository.ArtifactRepository;
    
    /**
     * Describes the result of a plugin version resolution request.
     *
     * @since 3.0
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/CircleCIDetector.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker.cisupport;
    
    import java.util.Optional;
    
    import org.apache.maven.api.cli.cisupport.CIInfo;
    
    /**
     * Circle CI support.
     */
    public class CircleCIDetector implements CIDetector {
        public static final String NAME = "CircleCI";
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 1.5K bytes
    - Click Count (0)
Back to Top