>>> from paraview.simple import *
>>> Sphere()
<paraview.servermanager.Sphere object at 0x7f3c192b00d0>
>>> Show()
<paraview.servermanager.GeometryRepresentation object at 0x7f3c192b0fd0>
>>> Render()
<paraview.servermanager.RenderView object at 0x7f3c192b00d0>
>>> Shrink()
<paraview.servermanager.Shrink object at 0x7f3c19274550>
>>> Show()
<paraview.servermanager.UnstructuredGridRepresentation object at 0x7f3c19274f50>
>>> Render()
<paraview.servermanager.RenderView object at 0x7f3c19274550>
>>> shrinksInput = GetProperty("Input")
>>> print shrinksInput
<paraview.servermanager.Sphere object at 0x7f3c192b00d0>
>>> Hide(shrinksInput)
And this is what I get
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "C:\Program Files\ParaView 5.7.0\bin\Lib\site-packages\paraview\simple.py", line 539, in Hide
controller.Hide(proxy, proxy.Port, view)
File "C:\Program Files\ParaView 5.7.0\bin\Lib\site-packages\paraview\servermanager.py", line 1279, in __getattr__
return getattr(self.SMProperty, name)
AttributeError: 'vtkPVServerManagerCorePython.vtkSMInputProperty' object has no attribute 'Port'