Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2601 - 2610 of 6,864 for classe (0.08 sec)

  1. docs_src/dependencies/tutorial008d_py39.py

    from fastapi import Depends, FastAPI, HTTPException
    
    app = FastAPI()
    
    
    class InternalError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except InternalError:
            print("We don't swallow the internal error here, we raise again 😎")
            raise
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: str = Depends(get_username)):
        if item_id == "portal-gun":
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 694 bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/configurations/BuildLogicTest.kt

    package configurations
    
    import common.Os
    import common.buildScanTagParam
    import common.getBuildScanCustomValueParam
    import model.CIBuildModel
    import model.Stage
    
    class BuildLogicTest(
        model: CIBuildModel,
        stage: Stage,
    ) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage = stage, init = {
            id(buildTypeId(model))
            name = "Build-logic checks"
            description = "Run check on all build-logic builds"
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 30 04:30:54 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

    import jakarta.annotation.Resource;
    import jakarta.servlet.ServletContext;
    
    /**
     * Base action class for admin pages in Fess.
     * <p>
     * This abstract class provides common functionality for all admin actions,
     * including authentication, authorization, and HTML data setup.
     * </p>
     *
     */
    public abstract class FessAdminAction extends FessBaseAction {
    
        /** Constant suffix for view names. */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebConfig.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.ParameterUtil;
    
    /**
     * @author FreeGen
     */
    public class WebConfig extends BsWebConfig implements CrawlingConfig {
    
        private static final Logger logger = LogManager.getLogger(WebConfig.class);
    
        private static final long serialVersionUID = 1L;
    
        protected volatile Pattern[] includedDocUrlPatterns;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.smb1.ntlmssp.NtlmFlags;
    import jcifs.smb1.ntlmssp.Type1Message;
    import jcifs.smb1.ntlmssp.Type2Message;
    
    @ExtendWith(MockitoExtension.class)
    class NtlmContextTest {
    
        @Mock
        private NtlmPasswordAuthentication mockAuth;
    
        private final String domain = "TEST_DOMAIN";
        private final String username = "testUser";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

    import junit.framework.TestCase;
    
    /**
     * Unit test for IteratorTester.
     *
     * @author Mick Killianey
     */
    @GwtCompatible
    @SuppressWarnings("serial") // No serialization is used in this test
    public class IteratorTesterTest extends TestCase {
    
      public void testCanCatchDifferentLengthOfIteration() {
        IteratorTester<Integer> tester =
            new IteratorTester<Integer>(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. tests/test_request_params/test_form/test_optional_list.py

    # Without aliases
    
    
    @app.post("/optional-list-str", operation_id="optional_list_str")
    async def read_optional_list_str(
        p: Annotated[Optional[list[str]], Form()] = None,
    ):
        return {"p": p}
    
    
    class FormModelOptionalListStr(BaseModel):
        p: Optional[list[str]] = None
    
    
    @app.post("/model-optional-list-str", operation_id="model_optional_list_str")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

     * FileSystemClient is CrawlerClient implementation to crawl files on a file
     * system.
     *
     * @author shinsuke
     *
     */
    public class FileSystemClient extends AbstractCrawlerClient {
    
        /** Logger instance for this class */
        private static final Logger logger = LogManager.getLogger(FileSystemClient.class);
    
        /** Key for file attribute view in metadata */
        public static final String FILE_ATTRIBUTE_VIEW = "fileAttributeView";
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

     * Can be subclassed to specify tests that should be suppressed.
     *
     * @author Kevin Bourrillion
     */
    @GwtIncompatible
    public class TestsForSetsInJavaUtil {
      public static Test suite() {
        return new TestsForSetsInJavaUtil().allTests();
      }
    
      public Test allTests() {
        TestSuite suite = new TestSuite("java.util Sets");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/security/first-steps.md

    /// info
    
    A "bearer" token is not the only option.
    
    But it's the best one for our use case.
    
    And it might be the best for most use cases, unless you are an OAuth2 expert and know exactly why there's another option that better suits your needs.
    
    In that case, **FastAPI** also provides you with the tools to build it.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top