This enables querying properties passed as attributes during
construction time. In particular needed for type inference where the
Operation has not been created at this point. This allows Python
construction of operations whose type inference depends on properties.
Depends on D156041
If you can, push this as a separate commit, seems unrelated to me and it's the only change in this file.