class documentation

class Marker: (source)

View In Hierarchy

Undocumented

Method __eq__ Undocumented
Method __hash__ Undocumented
Method __init__ Undocumented
Method __repr__ Undocumented
Method __str__ Undocumented
Method evaluate Evaluate a marker.
Instance Variable _markers Undocumented
def __eq__(self, other: Any) -> bool: (source)

Undocumented

def __hash__(self) -> int: (source)

Undocumented

def __init__(self, marker: str): (source)

Undocumented

def __repr__(self) -> str: (source)

Undocumented

def __str__(self) -> str: (source)

Undocumented

def evaluate(self, environment: Optional[Dict[str, str]] = None) -> bool: (source)

Evaluate a marker. Return the boolean from evaluating the given marker against the environment. environment is an optional argument to override all or part of the determined environment. The environment is determined from the current Python process.

_markers = (source)

Undocumented