MCPcopy Create free account
hub / github.com/FastLED/FastLED / _get_connection

Method _get_connection

ci/docker_utils/container_db.py:110–112  ·  view source on GitHub ↗

Get a new database connection.

(self)

Source from the content-addressed store, hash-verified

108 conn.close()
109
110 def _get_connection(self) -> sqlite3.Connection:
111 """Get a new database connection."""
112 return sqlite3.connect(self.db_path, timeout=10.0)
113
114 def get_by_name(self, container_name: str) -> Optional[ContainerRecord]:
115 """Get container record by name.

Callers 8

get_by_nameMethod · 0.95
get_by_idMethod · 0.95
insertMethod · 0.95
delete_by_idMethod · 0.95
delete_by_nameMethod · 0.95
get_allMethod · 0.95
get_by_config_hashMethod · 0.95
get_by_platform_typeMethod · 0.95

Calls 1

connectMethod · 0.45

Tested by

no test coverage detected