Get boundary coordinates

Hi, I was trying this code, and I am getting the following error. Could anyone help me with this?
Thank you in advance!

facets = dolfinx.mesh.exterior_facet_indices(mesh.topology)
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Input In [15], in <cell line: 1>()
----> 1 facets = dolfinx.mesh.exterior_facet_indices(mesh.topology)

AttributeError: module 'dolfinx.mesh' has no attribute 'exterior_facet_indices'

What dolfinx version are you using?

My version is 0.4.1.0

That function does not exist in 0.4 versions. See: Error execcting a command from the tutorial - #2 by bhaveshshrimali for the old syntax