Read endpoints.yml in action.py file?

Is there a way we can read endpoints.yml in action.py?

Use python’s file handling features in actions.py to read and write data to it

that 's the last approach i can implement .I am looking for inbuild functionality from rasa.

Can you please tell me why you need to read endpoints.yml from actions.py, so that i can suggest you a different approch

@talhashaikh5 i have created a custom pipeline need to used configurable parameters when i can used from endpoints.yml. so that i don’t have to hard code things.