Right now we allow adding attributes of operators in python: tvm/op.cc at main · apache/tvm · GitHub.
I suspect that we don’t have a public API to add operators on the python side right now, and I don’t know the reason why not. If you wanted to, you may just expose OpRegEntry::RegisterOrGet