MCPcopy Create free account
hub / github.com/TheSmallHanCat/flow2api / _build_project_name

Method _build_project_name

src/services/token_manager.py:64–67  ·  view source on GitHub ↗

Build a project name for the pool.

(self, pool_index: int, base_name: Optional[str] = None)

Source from the content-addressed store, hash-verified

62 return datetime.now().strftime("%b %d - %H:%M")
63
64 def _build_project_name(self, pool_index: int, base_name: Optional[str] = None) -> str:
65 """Build a project name for the pool."""
66 normalized_base = self._normalize_project_name_base(base_name)
67 return f"{normalized_base} P{pool_index}"
68
69 def _normalize_protocol_mode(self, value: Optional[str]) -> str:
70 mode = (value or "session").strip().lower()

Callers 2

add_tokenMethod · 0.95

Calls 1

Tested by

no test coverage detected