MCPcopy Create free account
hub / github.com/dmlc/treelite / initialize

Method initialize

python/hatch_build.py:21–23  ·  view source on GitHub ↗

This step ccurs immediately before each build.

(self, version: str, build_data: Dict[str, Any])

Source from the content-addressed store, hash-verified

19 """A custom build hook"""
20
21 def initialize(self, version: str, build_data: Dict[str, Any]) -> None:
22 """This step ccurs immediately before each build."""
23 build_data["tag"] = get_tag()

Callers

nothing calls this directly

Calls 1

get_tagFunction · 0.85

Tested by

no test coverage detected