Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1031 - 1040 of 3,684 for getT (0.03 sec)

  1. src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java

        public void test_register() {
            RenderData data = new RenderData();
    
            RenderDataUtil.register(data, "key1", null);
            assertNull(data.getDataMap().get("key1"));
    
            RenderDataUtil.register(data, "key5", "");
            assertEquals(data.getDataMap().get("key5"), "");
    
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/path-params.md

    ## Order matters
    
    When creating *path operations*, you can find situations where you have a fixed path.
    
    Like `/users/me`, let's say that it's to get data about the current user.
    
    And then you can also have a path `/users/{user_id}` to get data about a specific user by some user ID.
    
    Because *path operations* are evaluated in order, you need to make sure that the path for `/users/me` is declared before the one for `/users/{user_id}`:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. ci/official/utilities/extract_resultstore_links.py

      previous_end_line = None
      for url, lines in result_store_links.items():
        lines['status'] = InvokeStatus.passed  # default to passed
        start_line = lines['start']
        end_line = lines.get('end', lines.get('next_url', len(log_lines))) - 1
        k = end_line
        while k > start_line:
          backtrack_line = log_lines[k]
          build_failed = backtrack_line.startswith(FAILED_BUILD_LINE)
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Nov 08 17:50:27 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  4. docs/pl/docs/index.md

    * Potwierdzi, że w ścieżce jest `item_id` dla żądań `GET` i `PUT`.
    * Potwierdzi, że `item_id` jest typu `int` dla żądań `GET` i `PUT`.
        * Jeżeli nie jest, odbiorca zobaczy przydatną, przejrzystą wiadomość z błędem.
    * Sprawdzi czy w ścieżce jest opcjonalny parametr zapytania `q` (np. `http://127.0.0.1:8000/items/foo?q=somequery`) dla żądania `GET`.
        * Jako że parametr `q` jest zadeklarowany jako `= None`, jest on opcjonalny.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  5. docs_src/sub_applications/tutorial001.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/app")
    def read_main():
        return {"message": "Hello World from main app"}
    
    
    subapi = FastAPI()
    
    
    @subapi.get("/sub")
    def read_sub():
        return {"message": "Hello World from sub API"}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jun 11 21:53:19 UTC 2020
    - 274 bytes
    - Viewed (0)
  6. tests/test_http_connection_injection.py

    from starlette.websockets import WebSocket
    
    app = FastAPI()
    app.state.value = 42
    
    
    async def extract_value_from_http_connection(conn: HTTPConnection):
        return conn.app.state.value
    
    
    @app.get("/http")
    async def get_value_by_http(value: int = Depends(extract_value_from_http_connection)):
        return value
    
    
    @app.websocket("/ws")
    async def get_value_by_ws(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Aug 09 13:56:41 UTC 2020
    - 972 bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/RelatedQueryHelper.java

            final String key = ComponentUtil.getVirtualHostHelper().getVirtualHostKey();
            final Map<String, String[]> map = relatedQueryMap.get(key);
            if (map != null) {
                final String[] queries = map.get(toLowerCase(query));
                if (queries != null) {
                    return queries;
                }
            }
            return StringUtil.EMPTY_STRINGS;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/BuildScanInfoCollectingServices.kt

                if (!isInBuildLogic) { // BuildScanExtension is only available in the gradle project
                    val buildScan = gradleRootProject.extensions.findByType<BuildScanConfiguration>()
                    val infoCollectedInBuildLogic = gradleRootProject.extensions.extraProperties.get("collectedInfo-${klass.simpleName}-build-logic")!!
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 24 03:34:53 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ExtractGradleApiInfoTask.java

                if (Files.exists(upgradedPropertiesJson)) {
                    Files.copy(upgradedPropertiesJson, to.getAsFile().get().toPath(), StandardCopyOption.REPLACE_EXISTING);
                } else {
                    to.getAsFile().get().delete();
                }
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Nov 22 22:15:41 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. docs/sts/web-identity.go

    			return
    		}
    		if r.Form.Get("state") != state {
    			http.Error(w, "state did not match", http.StatusBadRequest)
    			return
    		}
    
    		var getWebTokenExpiry func() (*credentials.WebIdentityToken, error)
    		if clientSec == "" {
    			getWebTokenExpiry = func() (*credentials.WebIdentityToken, error) {
    				return &credentials.WebIdentityToken{
    					Token: r.Form.Get("id_token"),
    				}, nil
    			}
    		} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 19 09:13:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
Back to top