Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 411 - 420 of 909 for item01 (0.05 seconds)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            private
            inline fun <reified T> inAnyOrder(items: List<T>): Matcher<Iterable<T>> = inAnyOrder(items.toTypedArray())
    
            /**
             * Matcher checking each item is present exactly once in a given iterable, but an any position,
             * and that there are no unexpected items.
             */
            private
            fun <T> inAnyOrder(items: Array<out T>): Matcher<Iterable<T>> = Matchers.containsInAnyOrder(*items)
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 18K bytes
    - Click Count (0)
  2. docs_src/security/tutorial005_py39.py

        hashed_password: str
    
    
    password_hash = PasswordHash.recommended()
    
    oauth2_scheme = OAuth2PasswordBearer(
        tokenUrl="token",
        scopes={"me": "Read information about the current user.", "items": "Read items."},
    )
    
    app = FastAPI()
    
    
    def verify_password(plain_password, hashed_password):
        return password_hash.verify(plain_password, hashed_password)
    
    
    def get_password_hash(password):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 02:57:38 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/storage/S3StorageClient.java

            }
        }
    
        @Override
        public List<StorageItem> listObjects(final String prefix, final int maxItems) {
            final List<StorageItem> items = new ArrayList<>();
    
            try {
                final ListObjectsV2Request.Builder requestBuilder =
                        ListObjectsV2Request.builder().bucket(bucket).delimiter("/").maxKeys(maxItems);
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

            assertFalse(robotsTxt.allows("/store/items", "PriorityBot"));
            assertTrue(robotsTxt.allows("/store/public", "PriorityBot")); // Allow is more specific
            assertTrue(robotsTxt.allows("/store/public/items", "PriorityBot"));
            assertFalse(robotsTxt.allows("/store/public/sale", "PriorityBot")); // Most specific disallow
            assertFalse(robotsTxt.allows("/store/public/sale/item", "PriorityBot"));
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  5. ci/official/utilities/convert_msys_paths_to_win_paths.py

      for prefix in whitelist_prefix:
        if var_name.startswith(prefix):
          return True
      return False
    
    
    def main(parsed_args: argparse.Namespace):
      converted_vars = {}
    
      for var, value in os.environ.items():
        if not value or not should_convert(var,
                                           parsed_args.blacklist,
                                           parsed_args.whitelist_prefix):
          continue
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Aug 07 23:01:25 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  6. tests/test_swagger_ui_init_oauth.py

    from fastapi.testclient import TestClient
    
    swagger_ui_init_oauth = {"clientId": "the-foo-clients", "appName": "The Predendapp"}
    
    app = FastAPI(swagger_ui_init_oauth=swagger_ui_init_oauth)
    
    
    @app.get("/items/")
    async def read_items():
        return {"id": "foo"}
    
    
    client = TestClient(app)
    
    
    def test_swagger_ui():
        response = client.get("/docs")
        assert response.status_code == 200, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 09 10:54:05 GMT 2020
    - 718 bytes
    - Click Count (0)
  7. tests/test_no_swagger_ui_redirect.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI(swagger_ui_oauth2_redirect_url=None)
    
    
    @app.get("/items/")
    async def read_items():
        return {"id": "foo"}
    
    
    client = TestClient(app)
    
    
    def test_swagger_ui():
        response = client.get("/docs")
        assert response.status_code == 200, response.text
        assert response.headers["content-type"] == "text/html; charset=utf-8"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Apr 08 04:37:38 GMT 2020
    - 786 bytes
    - Click Count (0)
  8. docs/ru/docs/advanced/security/oauth2-scopes.md

    Если вы не выберете ни один scope, вы будете «аутентифицированы», но при попытке доступа к `/users/me/` или `/users/me/items/` получите ошибку о недостаточных разрешениях. При этом доступ к `/status/` будет возможен.
    
    Если вы выберете scope `me`, но не `items`, вы сможете получить доступ к `/users/me/`, но не к `/users/me/items/`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:37:11 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_custom_response/test_tutorial002_tutorial003_tutorial004.py

            "paths": {
                "/items/": {
                    "get": {
                        "responses": {
                            "200": {
                                "description": "Successful Response",
                                "content": response_content,
                            }
                        },
                        "summary": "Read Items",
                        "operationId": "read_items_items__get",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/dependencies/index.md

    For example, let's say you have 4 API endpoints (*path operations*):
    
    * `/items/public/`
    * `/items/private/`
    * `/users/{user_id}/activate`
    * `/items/pro/`
    
    then you could add different permission requirements for each of them just with dependencies and sub-dependencies:
    
    ```mermaid
    graph TB
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 9.6K bytes
    - Click Count (0)
Back to Top