code: def remove(self, oid):
          
          virtual_function = self.lookup_by_oid(oid)
          partition = self.parent
          devno = virtual_function.properties.get('device-number', None)
          if devno:
              partition.devno_free_if_allocated(devno)
          assert 'virtual-function-uris' in partition.properties
          vf_uris = partition.properties['virtual-function-uris']
          vf_uris.remove(virtual_function.uri)
          super(FakedVirtualFunctionManager, self).remove(oid)
docs: Remove a faked Virtual Function resource.
  
          This method also updates the 'virtual-function-uris' property in the
          parent Partition resource, by removing the URI for the faked Virtual
          Function resource.
  
          Parameters:
  
            oid (string):
              The object ID of the faked Virtual Function resource.