(dictionary, key_list, default_value=None)
| 920 | |
| 921 | @staticmethod |
| 922 | def safe_string_lower_n(dictionary, key_list, default_value=None): |
| 923 | value = Exchange.get_object_value_from_key_list(dictionary, key_list) |
| 924 | if value is not None: |
| 925 | return str(value).lower() |
| 926 | elif default_value is None: |
| 927 | return default_value |
| 928 | else: |
| 929 | return default_value.lower() |
| 930 | |
| 931 | @staticmethod |
| 932 | def safe_string_upper_n(dictionary, key_list, default_value=None): |