NETCONF notification not received when using ncclient

Hi Guys, I’m facing an issue with netconf subscription. Im using the ncclient tool to create subscription with stream type as “NETCONF”. My subscription is OK and got a response from netconf. But after I changed the configuration via NBI, I’m not getting a notification.

But if I directly login to netconf server and create subscription using xml body, subscription is getting created and when I change config using NBI, I get netconf notification too.

import ncclient

Create a NETCONF session

session = ncclient.manager.connect(**************)

Create a subscription

subscription = session.create_subscription()

Wait for events

while True:
event = subscription.take_notification()
# Process the event
print(event)

Close the NETCONF session

session.close()