Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 425 for semf (0.43 sec)

  1. docs_src/python_types/tutorial010_py39.py

    class Person:
        def __init__(self, name: str):
            self.name = name
    
    
    def get_person_name(one_person: Person):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 144 bytes
    - Viewed (0)
  2. fastapi/datastructures.py

        if the overridden default value was truthy.
        """
    
        def __init__(self, value: Any):
            self.value = value
    
        def __bool__(self) -> bool:
            return bool(self.value)
    
        def __eq__(self, o: object) -> bool:
            return isinstance(o, DefaultPlaceholder) and o.value == self.value
    
    
    DefaultType = TypeVar("DefaultType")
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. tests/test_dependency_wrapped.py

        @noop_wrap
        def __call__(self):
            return True
    
    
    class_instance_wrapped_dep = ClassInstanceWrappedDep()
    
    
    class ClassInstanceWrappedAsyncDep:
        @noop_wrap_async
        def __call__(self):
            return True
    
    
    class_instance_wrapped_async_dep = ClassInstanceWrappedAsyncDep()
    
    
    class ClassInstanceWrappedGenDep:
        @noop_wrap
        def __call__(self):
            yield True
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multisets.java

          Multiset<E> self, Collection<? extends E> elements) {
        checkNotNull(self);
        checkNotNull(elements);
        if (elements instanceof Multiset) {
          return addAllImpl(self, (Multiset<? extends E>) elements);
        } else if (elements.isEmpty()) {
          return false;
        } else {
          return Iterators.addAll(self, elements.iterator());
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 41.3K bytes
    - Viewed (0)
  5. tests/test_dependency_after_yield_websockets.py

    from fastapi import Depends, FastAPI, WebSocket
    from fastapi.testclient import TestClient
    
    
    class Session:
        def __init__(self) -> None:
            self.data = ["foo", "bar", "baz"]
            self.open = True
    
        def __iter__(self) -> Generator[str, None, None]:
            for item in self.data:
                if self.open:
                    yield item
                else:
                    raise ValueError("Session closed")
    
    
    @contextmanager
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. tests/test_dependency_class.py

    class CallableDependency:
        def __call__(self, value: str) -> str:
            return value
    
    
    class CallableGenDependency:
        def __call__(self, value: str) -> Generator[str, None, None]:
            yield value
    
    
    class AsyncCallableDependency:
        async def __call__(self, value: str) -> str:
            return value
    
    
    class AsyncCallableGenDependency:
        async def __call__(self, value: str) -> AsyncGenerator[str, None]:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/CoreExtension.java

         */
        private String version;
    
        /**
         * The class loading strategy: 'self-first' (the default),
         * 'parent-first' (loads classes from the parent, then from the
         * extension) or 'plugin' (follows the rules from extensions
         * defined as plugins).
         */
        private String classLoadingStrategy = "self-first";
    
        // -----------/
        // - Methods -/
        // -----------/
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. docs/tr/docs/tutorial/first-steps.md

    #### "Şema"
    
    "Şema", bir şeyin tanımı veya açıklamasıdır. Geliştirilen koddan ziyade soyut bir açıklamadır.
    
    #### API "Şeması"
    
    Bu durumda, <a href="https://github.com/OAI/OpenAPI-Specification" class="external-link" target="_blank">OpenAPI</a>, API şemasını nasıl tanımlayacağınızı belirten bir şartnamedir.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. src/main/resources/crawler/transformer.xml

    		<postConstruct name="addFieldRule">
    			<arg>"title"</arg>
    			<arg>"//TITLE"</arg>
    			<arg>true</arg>
    		</postConstruct>
    		<postConstruct name="addFieldRule">
    			<arg>"important_content"</arg>
    			<arg>"//*[self::H1 or self::H2 or self::H3]"</arg>
    			<arg>true</arg>
    		</postConstruct>
    	</component>
    
    	<component name="fessFileTransformer" class="org.codelibs.fess.crawler.transformer.FessFileTransformer" instance="singleton">
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Dec 20 13:14:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. tests/test_validation_error_context.py

    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        id: int
        name: str
    
    
    class ExceptionCapture:
        def __init__(self):
            self.exception = None
    
        def capture(self, exc):
            self.exception = exc
            return exc
    
    
    app = FastAPI()
    sub_app = FastAPI()
    captured_exception = ExceptionCapture()
    
    app.mount(path="/sub", app=sub_app)
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 06 12:21:57 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top