Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4441 - 4450 of 6,918 for RETURN (0.04 sec)

  1. docs_src/query_params_str_validations/tutorial001.py

    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: Union[str, None] = None):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 271 bytes
    - Viewed (0)
  2. docs_src/response_cookies/tutorial002.py

    from fastapi import FastAPI, Response
    
    app = FastAPI()
    
    
    @app.post("/cookie-and-object/")
    def create_cookie(response: Response):
        response.set_cookie(key="fakesession", value="fake-cookie-session-value")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 272 bytes
    - Viewed (0)
  3. cmd/metrics-v3.go

    		collectors[mg.CollectorPath] = mg
    	}
    
    	// Helper function to register a collector and return a gatherer for it.
    	mustRegister := func(c ...prometheus.Collector) prometheus.Gatherer {
    		subRegistry := prometheus.NewRegistry()
    		for _, col := range c {
    			subRegistry.MustRegister(col)
    		}
    		r.MustRegister(subRegistry)
    		return subRegistry
    	}
    
    	// Register all collectors and create gatherers for them.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 02 00:55:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. src/packaging/deb/init.d/fess

    	return=$?
    	if [ $return -eq 0 ]; then
    		i=0
    		timeout=10
    		# Wait for the process to be properly started before exiting
    		until { kill -0 `cat "$PID_FILE"`; } >/dev/null 2>&1
    		do
    			sleep 1
    			i=$(($i + 1))
    			if [ $i -gt $timeout ]; then
    				log_end_msg 1
    				exit 1
    			fi
    		done
    	fi
    	log_end_msg $return
    	exit $return
    	;;		
      stop)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. docs_src/query_params_str_validations/tutorial003_py310.py

    
    @app.get("/items/")
    async def read_items(q: str | None = Query(default=None, min_length=3, max_length=50)):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 290 bytes
    - Viewed (0)
  6. docs_src/query_params_str_validations/tutorial006b_an.py

    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: Annotated[str, Query(min_length=3)] = ...):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 310 bytes
    - Viewed (0)
  7. src/main/resources/fess_env_crawler.properties

    # SMTP server settings for main: host:port
    mail.smtp.server.main.host.and.port = localhost:25
    
    # The prefix of subject to show test environment or not
    mail.subject.test.prefix = 
    
    # The common return path of all mail
    mail.return.path = root@localhost
    
    
    # ========================================================================================
    #                                                                                      DB
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 29 07:34:32 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  8. src/main/resources/fess_env_thumbnail.properties

    # SMTP server settings for main: host:port
    mail.smtp.server.main.host.and.port = localhost:25
    
    # The prefix of subject to show test environment or not
    mail.subject.test.prefix = 
    
    # The common return path of all mail
    mail.return.path = root@localhost
    
    
    # ========================================================================================
    #                                                                                      DB
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Feb 12 13:38:57 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/auth/chain/LdapChain.java

            final boolean changed = ComponentUtil.getLdapManager().changePassword(username, password);
            return !changed || ComponentUtil.getFessConfig().isLdapAdminSyncPassword();
        }
    
        @Override
        public User load(final User user) {
            ComponentUtil.getLdapManager().apply(user);
            return user;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/FessApiAdminAction.java

            try {
                return accessTokenService.getPermissions(request).map(permissions -> fessConfig.isApiAdminAccessAllowed(permissions))
                        .orElse(false);
            } catch (final InvalidAccessTokenException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Invalid access token.", e);
                }
                return false;
            }
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top