parameters: (self)
return_statement: return int(self.key().name().split("-")[-1])
docstring: Gets the shard number from the key name.
docstring_summary: Gets the shard number from the key name.
docstring_tokens: Gets the shard number from the key name .
function: def get_shard_number(self):
      """Gets the shard number from the key name."""
      return int(self.key().name().split("-")[-1])
function_tokens: def get_shard_number ( self ) : return int ( self . key ( ) . name ( ) . split ( "-" ) [ - 1 ] )