class_docstr: Auth0OnSignUpRequest
class_docstr_tok: ["Auth0OnSignUpRequest"]
docstr: Create an instance of Auth0OnSignUpRequest from a dict
docstr_tok: ["Create","an","instance","of","Auth0OnSignUpRequest","from","a","dict"]
code: def from_dict(cls, obj: dict) -> Auth0OnSignUpRequest:
      """Create an instance of Auth0OnSignUpRequest from a dict"""
      if obj is None:
          return None
  
      if not isinstance(obj, dict):
          return Auth0OnSignUpRequest.parse_obj(obj)
  
      # raise errors for additional fields in the input
      for _key in obj.keys():
          if _key not in cls.__properties:
              raise ValueError(
                  "Error due to additional fields (not defined in Auth0OnSignUpRequest) in the input: "
                  + str(obj)
              )
  
      _obj = Auth0OnSignUpRequest.parse_obj(
          {
              "user": Auth0OnSignUpRequestUser.from_dict(
                  obj.get("user")
              )
              if obj.get("user") is not None
              else None
          }
      )
      return _obj
  
file_path: lightly/lightly/openapi_generated/swagger_client/models/auth0_on_sign_up_request.py
imports: from __future__ import annotations
  import pprint
  import re
  import json
  from pydantic import Extra, BaseModel, Field
  from lightly.openapi_generated.swagger_client.models.auth0_on_sign_up_request_user import Auth0OnSignUpRequestUser
label_desc: Use image node_id 5 for calling the Auth0OnSignUpRequest obj's underlying member method code with example usage: obj.from_dict(cls, obj) and returns: _obj, None, Auth0OnSignUpRequest