Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for myEnum (0.03 sec)

  1. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

            final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(MyDto.class);
            final PropertyDesc pd = beanDesc.getPropertyDesc("myEnum");
            final MyDto dto = new MyDto();
            pd.setValue(dto, "ONE");
            assertEquals(MyEnum.ONE, dto.myEnum);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetBeanDesc() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. tests/test_jsonable_encoder.py

    
    def test_custom_enum_encoders():
        def custom_enum_encoder(v: Enum):
            return v.value.lower()
    
        class MyEnum(Enum):
            ENUM_VAL_1 = "ENUM_VAL_1"
    
        instance = MyEnum.ENUM_VAL_1
    
        encoded_instance = jsonable_encoder(
            instance, custom_encoder={MyEnum: custom_enum_encoder}
        )
        assert encoded_instance == custom_enum_encoder(instance)
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. CHANGELOG/CHANGELOG-1.21.md

      - Implement caching instances
      
      ### IONOS
      - Add support for IONOS
      
      ### Kubemark
      - Skip non-kubemark nodes while computing node infos for node groups.
      
      ### Magnum
      - Add Magnum support in the Cluster Autoscaler helm chart
      
      ### Packet
      - Allow empty nodepools
      - Add support for multiple nodepools
      - Add pricing support
      
      ## Image
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Fri Oct 14 07:03:14 UTC 2022
    - 367.3K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.20.md

      - Implement caching instances
      
      ### IONOS
      - Add support for IONOS
      
      ### Kubemark
      - Skip non-kubemark nodes while computing node information for node groups.
      
      ### Magnum
      - Add Magnum support in the Cluster Autoscaler helm chart
      
      ### Packet
      - Allow empty nodepools
      - Add support for multiple nodepools
      - Add pricing support
      
      ## Image
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Jan 19 21:05:45 UTC 2022
    - 409K bytes
    - Viewed (0)
Back to top