Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2541 - 2550 of 7,602 for Glass (0.03 sec)

  1. docs_src/settings/tutorial001.py

    from fastapi import FastAPI
    from pydantic_settings import BaseSettings
    
    
    class Settings(BaseSettings):
        app_name: str = "Awesome API"
        admin_email: str
        items_per_user: int = 50
    
    
    settings = Settings()
    app = FastAPI()
    
    
    @app.get("/info")
    async def info():
        return {
            "app_name": settings.app_name,
            "admin_email": settings.admin_email,
            "items_per_user": settings.items_per_user,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 419 bytes
    - Viewed (0)
  2. docs_src/response_model/tutorial002_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel, EmailStr
    
    app = FastAPI()
    
    
    class UserIn(BaseModel):
        username: str
        password: str
        email: EmailStr
        full_name: str | None = None
    
    
    # Don't do this in production!
    @app.post("/user/")
    async def create_user(user: UserIn) -> UserIn:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jan 07 13:45:48 UTC 2023
    - 318 bytes
    - Viewed (0)
  3. fess-crawler-lasta/src/main/resources/crawler/log.xml

    <!DOCTYPE components PUBLIC "-//DBFLUTE//DTD LastaDi 1.0//EN"
    	"http://dbflute.org/meta/lastadi10.dtd">
    <components namespace="fessCrawler">
    	<include path="crawler/container.xml" />
    
    	<component name="logHelper"
    		class="org.codelibs.fess.crawler.helper.impl.LogHelperImpl">
    	</component>
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 343 bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

    /**
     * The handler of multipart request (fileupload request). <br>
     * This instance is created per one multipart request.
     * @author modified by jflute (originated in Seasar)
     */
    public class FessMultipartRequestHandler implements MultipartRequestHandler {
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Oct 23 13:27:21 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFileInputStream.java

    import jcifs.util.transport.TransportException;
    
    
    /**
     * This InputStream can read bytes from a file on an SMB file server. Offsets are 64 bits.
     */
    public class SmbFileInputStream extends InputStream {
    
        private static final Logger log = LoggerFactory.getLogger(SmbFileInputStream.class);
    
        private SmbFileHandleImpl handle;
        private long fp;
        private int readSize, readSizeFile, openFlags, access, sharing;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/testing/Flaky.kt

     * limitations under the License.
     */
    package okhttp3.testing
    
    @Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)
    @Retention(AnnotationRetention.RUNTIME)
    /**
     * Annotation marking a test as flaky, and requires extra logging and linking against
     * a known github issue.  This does not ignore the failure.
     */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 902 bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingImmutableMap.java

     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Unused stub class, unreferenced under Java and manually emulated under GWT.
     *
     * @author Chris Povirk
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    abstract class ForwardingImmutableMap<K, V> {
      private ForwardingImmutableMap() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 956 bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/cache/FaultHidingSink.kt

    package okhttp3.internal.cache
    
    import java.io.IOException
    import okio.Buffer
    import okio.ForwardingSink
    import okio.Sink
    
    /** A sink that never throws IOExceptions, even if the underlying sink does. */
    internal open class FaultHidingSink(
      delegate: Sink,
      val onException: (IOException) -> Unit,
    ) : ForwardingSink(delegate) {
      private var hasErrors = false
    
      override fun write(
        source: Buffer,
        byteCount: Long,
      ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSourceListener.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.sse
    
    import okhttp3.Response
    
    abstract class EventSourceListener {
      /**
       * Invoked when an event source has been accepted by the remote peer and may begin transmitting
       * events.
       */
      open fun onOpen(
        eventSource: EventSource,
        response: Response,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/SpecificHostSocketFactory.kt

    import java.net.Socket
    import java.net.SocketAddress
    import okhttp3.internal.platform.Platform
    
    /**
     * A [SocketFactory] that redirects connections to [defaultAddress] or specific overridden address via [set].
     */
    class SpecificHostSocketFactory(
      val defaultAddress: InetSocketAddress?,
    ) : DelegatingSocketFactory(getDefault()) {
      private val hostMapping = mutableMapOf<InetAddress, InetSocketAddress>()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top