class_docstr: ProfileMeDataSettings
class_docstr_tok: ["ProfileMeDataSettings"]
docstr: Create an instance of ProfileMeDataSettings from a dict
docstr_tok: ["Create","an","instance","of","ProfileMeDataSettings","from","a","dict"]
code: def from_dict(cls, obj: dict) -> ProfileMeDataSettings:
      """Create an instance of ProfileMeDataSettings from a dict"""
      if obj is None:
          return None
  
      if not isinstance(obj, dict):
          return ProfileMeDataSettings.parse_obj(obj)
  
      _obj = ProfileMeDataSettings.parse_obj(
          {
              "locale": obj.get("locale")
              if obj.get("locale") is not None
              else "en",
              "date_format": obj.get("dateFormat"),
              "number_format": obj.get("numberFormat"),
          }
      )
      # store additional fields in additional_properties
      for _key in obj.keys():
          if _key not in cls.__properties:
              _obj.additional_properties[_key] = obj.get(_key)
  
      return _obj
  
file_path: lightly/lightly/openapi_generated/swagger_client/models/profile_me_data_settings.py
imports: from __future__ import annotations
  import pprint
  import re
  import json
  from typing import Optional
  from pydantic import Extra, BaseModel, Field, StrictStr
label_desc: Use image node_id 5 for calling the ProfileMeDataSettings obj's underlying member method code with example usage: obj.from_dict(cls, obj) and returns: _obj, None, ProfileMeDataSettings