I am calling an API that is returning an AttributeDict that has a number of attributes, such as to and from.
To access these attributes, I am using dot notation. For example, I use object.to and that works fine.
When I try to use object.from, I get an error that says SyntaxError: invalid syntax. I assume this is because from is a keyword in Python. 
If this is the case, is it possible to access from with a dot? For now, I am using object["from"], which is working, but does not match the rest of my code.
 
     
    