ehrtools / ehrtools/codelist-tools

Logging Project: Define Python API for logging-enabled `Codelist`

Open
#60 0 comments 0 reactions 0 assignees View on GitHub
current priority Python
Dominant language
Rust
Stars
15
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Follow on to #58 and #59

**Goal:** Support logging via the Python bindings with a simple API.

Example:

```python
c = CodeList("Pneumonia", "ICD10", "Manually created", logging=True)
```

**Scope:**

- Add optional logging=True parameter to Python CodeList constructor but set this as default True.
- Expose method to retrieve logs from Python, e.g. `c.get_log()`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.