fhir-py
fhir-py copied to clipboard
Unable to use client attr because it is used by our client
Let's remove self.client to self._client
I'm thinking about _client extenstion in FHIR Resources, so, maybe to choose another name
Renamed to __client__ in 2.0.0
sessions = (
await fhir_client.resources("Session")
.search(Raw(**{"user:User.id": user.id}))
.fetch_all()
)
raises
TypeError: BaseResource.__init__() got multiple values for argument 'client'
because the first argument of BaseResource is still named client.
It needs to be renamed as well.