Closed Bug 1655423 Opened 5 years ago Closed 5 years ago

[python] Document that `data_path` is mandatory when initializing glean outside of tests

Categories

(Data Platform and Tools :: Glean: SDK, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1634410

People

(Reporter: Dexter, Unassigned)

Details

(Whiteboard: [telemetry:glean-rs:m?])

It's a bit confusing that the data_path is currently optional: we automatically save data in a temporary directory if not provided. While this behaviour is fine/expected for tests, it is a bit surprising for a production app.

I believe we should probably switch the behaviour: make it always mandatory and allow tests to save to a temporary directory.

Regardless of what we decide, we should document that this is mandatory for apps intended to be in production, in our docs.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.