Generate a unique and descriptive name for the segment. This name is re-used on consecutive imports to prevent duplicate segments. :param name: Name of the Launch Darkly segment. :param env: Environment name of the Launch Darkly segment. :return: A unique and descriptive name f
(name: str, env: str)
| 202 | |
| 203 | |
| 204 | def _get_segment_name(name: str, env: str) -> str: |
| 205 | """ |
| 206 | Generate a unique and descriptive name for the segment. This name is re-used on consecutive imports to |
| 207 | prevent duplicate segments. |
| 208 | |
| 209 | :param name: Name of the Launch Darkly segment. |
| 210 | :param env: Environment name of the Launch Darkly segment. |
| 211 | :return: A unique and descriptive name for the segment targeting a specific environment. |
| 212 | """ |
| 213 | return f"{name} (Override for {env})" |
| 214 | |
| 215 | |
| 216 | def _create_feature_segments_for_segment_match_clauses( |
no outgoing calls
no test coverage detected
searching dependent graphs…