Skip to content

0.11.2

Compare
Choose a tag to compare
@pwwang pwwang released this 30 Jun 17:07
· 27 commits to master since this release
  • ✨ Add jsobj to create dict without explicitly specifying the key-value pairs

    from varname.helpers import jsobj
    
    a = 1
    b = 2
    # before
    dict(a=a, b=b, c=3)  # {'a': 1, 'b': 2, 'c': 3}
    
    # after
    jsobj(a, b, c=3)  # {'a': 1, 'b': 2, 'c': 3}

Full Changelog: 0.11.1...0.11.2