original_docstring: Gets GPIO direction from sysfs.
  
      Returns:
        GPIO direction in string, 'in' or 'out'.
      
docstring: Gets GPIO direction from sysfs.
docstring_tokens: Gets GPIO direction from sysfs .
code: def _GetDirection(self):
      """Gets GPIO direction from sysfs.
  
      Returns:
        GPIO direction in string, 'in' or 'out'.
      """
      with open(self._GetSysfsPath('direction'), 'r') as f:
        return f.read().strip()
code_tokens: def _GetDirection ( self ) : with open ( self . _GetSysfsPath ( 'direction' ) , 'r' ) as f : return f . read ( ) . strip ( )
short_docstring: Gets GPIO direction from sysfs.
short_docstring_tokens: Gets GPIO direction from sysfs .
comment: """Gets GPIO direction from sysfs.
  
      Returns:
        GPIO direction in string, 'in' or 'out'.
      """