Module 'chirpstack_api.integration' has no 'UplinkEvent' member

hi,
I try to run the python code.
this code is a http server,will receive device uplink message.
page:HTTP - ChirpStack open-source LoRaWAN® Network Server documentation

chirpstack-api version is 4.8.1-post1
chirpstack was installed by docker and version is 4.8.1.

but it doesn’t work.

does anyone know what i am dooing wrong?