I've created a PR to fix this issue. https://github.com/pyth-network/pyth-client/pull/253