Return True if this variable is fully resolved and does not need further shell expansion.
(self)
| 145 | is_array = attr.ib(default=False, repr=False) |
| 146 | |
| 147 | def is_resolved(self): |
| 148 | """ |
| 149 | Return True if this variable is fully resolved and does not need further |
| 150 | shell expansion. |
| 151 | """ |
| 152 | if self.is_array: |
| 153 | for item in self.value: |
| 154 | return not any(c in item for c in '${}') |
| 155 | return not any(c in self.value for c in '${}') |
| 156 | |
| 157 | @classmethod |
| 158 | def from_node(cls, node): |
no outgoing calls
no test coverage detected