MCPcopy
hub / github.com/charlierguo/gmail / parse_flags

Method parse_flags

gmail/message.py:120–122  ·  view source on GitHub ↗
(self, headers)

Source from the content-addressed store, hash-verified

118 return hdrs
119
120 def parse_flags(self, headers):
121 return list(ParseFlags(headers))
122 # flags = re.search(r'FLAGS \(([^\)]*)\)', headers).groups(1)[0].split(' ')
123
124 def parse_labels(self, headers):
125 if re.search(r'X-GM-LABELS \(([^\)]+)\)', headers):

Callers 1

parseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected