I assume the python interface will not change for bugfix releases of version 5. I doubt pcbway intents to support the nightly releases of kicad.
This would mean that your outlined problem should not affect the topic discussed here.
@pointhi started something in this direction. Building a proposal for an (official) high level python API