class_docstr: Dictionary with strict shape signature.
  
  Simple dict literals can be used to specify dictionary types where keys may be optionally present, but when they
  are they should match the specified types. For example, ``{"foo": int, "bar": str}`` is a valid type for ``{}`` or
  ``{"foo": 3}`` or ``{"bar": "^_^"}`` or ``{"foo": 0, "bar": ""}``. On the other hand, ``Dict(foo=int, bar=str)``
  specifies a dictionary type where both keys "foo" and "bar" must be present and their values must be of integer
  and string types respectively.
  
  As a convenience, we assume that any key which is missing in the variable being tested is equivalent to
  ``value = None``, therefore if the Dict type allows for some key to be None, then it can also be missing.
class_docstr_tok: ["Dictionary","with","strict","shape","signature",".","Simple","dict","literals","can","be","used","to","specify","dictionary","types","where","keys","may","be","optionally","present",",","but","when","they","are","they","should","match","the","specified","types",".","For","example",",","``","{","``","foo","''",":","int",",","``","bar","''",":","str","}","``","is","a","valid","type","for","``","{","}","``","or","``","{","``","foo","''",":","3","}","``","or","``","{","``","bar","''",":","``","^_^","''","}","``","or","``","{","``","foo","''",":","0",",","``","bar","''",":","``","''","}","``",".","On","the","other","hand",",","``","Dict","(","foo=int",",","bar=str",")","``","specifies","a","dictionary","type","where","both","keys","``","foo","''","and","``","bar","''","must","be","present","and","their","values","must","be","of","integer","and","string","types","respectively",".","As","a","convenience",",","we","assume","that","any","key","which","is","missing","in","the","variable","being","tested","is","equivalent","to","``","value","=","None","``",",","therefore","if","the","Dict","type","allows","for","some","key","to","be","None",",","then","it","can","also","be","missing","."]
docstr: Create a Dictionary object.
docstr_tok: ["Create","a","Dictionary","object","."]
code: def __init__(self, **kwargs):
      """Create a Dictionary object."""
      self._types = kwargs
  
imports: from h2o.utils.compatibility import *
  import importlib
  import io
  import re
  import sys
  import tokenize
  from types import BuiltinFunctionType, FunctionType
  from h2o.exceptions import H2OTypeError, H2OValueError
label_desc: Use image node_id 1 to create a new Dict object from inherited base classes: MagicType with example: obj = Dict()