parameters: (self)
docstring: Prevents further modification to the sharding policy.
  
      Any values that have not been set when freeze is called are set to
      defaults. If the ShardingPolicy is already frozen, this is a NoOp.
docstring_summary: Prevents further modification to the sharding policy.
docstring_tokens: Prevents further modification to the sharding policy .
function: def freeze(self):
      """Prevents further modification to the sharding policy.
  
      Any values that have not been set when freeze is called are set to
      defaults. If the ShardingPolicy is already frozen, this is a NoOp.
      """
      if not self._frozen:
        self._fill_default_values()
        self._frozen = True
function_tokens: def freeze ( self ) : if not self . _frozen : self . _fill_default_values ( ) self . _frozen = True