Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Child1 (0.43 sec)

  1. tests/test_jsonable_encoder.py

    
    @needs_pydanticv2
    def test_decimal_encoder_int():
        data = {"value": Decimal(2)}
        assert jsonable_encoder(data) == {"value": 2}
    
    
    def test_encode_deque_encodes_child_models():
        class Model(BaseModel):
            test: str
    
        dq = deque([Model(test="test")])
    
        assert jsonable_encoder(dq)[0]["test"] == "test"
    
    
    @needs_pydanticv2
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. scripts/mkdocs_hooks.py

                first_child = new_children[0]
                if isinstance(first_child, Page):
                    if first_child.file.src_path.endswith("index.md"):
                        # Read the source so that the title is parsed and available
                        first_child.read_source(config=config)
                        new_title = first_child.title or new_title
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  3. fastapi/routing.py

                )
            )
    
        def matches(self, scope: Scope) -> Tuple[Match, Scope]:
            match, child_scope = super().matches(scope)
            if match != Match.NONE:
                child_scope["route"] = self
            return match, child_scope
    
    
    class APIRoute(routing.Route):
        def __init__(
            self,
            path: str,
            endpoint: Callable[..., Any],
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  4. configure.py

          var_name='ANDROID_NDK_HOME',
          var_default=default_ndk_path,
          ask_for_var='Please specify the home path of the Android NDK to use.',
          check_success=valid_ndk_path,
          error_msg=('The path %s or its child file "source.properties" '
                     'does not exist.'))
      write_action_env_to_bazelrc('ANDROID_NDK_HOME', android_ndk_home_path)
      write_action_env_to_bazelrc(
          'ANDROID_NDK_API_LEVEL',
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
Back to top