Get whichever known Remote has the same address as the Enterprise license server :return: Relevant known Remote, or None if one is not found
()
| 64 | |
| 65 | |
| 66 | def enterprise_remote() -> Optional['Remote']: |
| 67 | """ |
| 68 | Get whichever known Remote has the same address as the Enterprise license server |
| 69 | |
| 70 | :return: Relevant known Remote, or None if one is not found |
| 71 | """ |
| 72 | for remote in known_remotes(): |
| 73 | if remote.is_enterprise: |
| 74 | return remote |
| 75 | return None |
| 76 | |
| 77 | |
| 78 | def create_remote(name: str, address: str) -> 'Remote': |
nothing calls this directly
no test coverage detected