trustgraph/trustgraph-base
RaccoonLabs 706e62b7c2 feat: add type hints to all public functions in trustgraph/base (#803)
feat: add type hints to all public functions in trustgraph/base

Add type annotations to 23 modules covering:
- Metrics classes (ConsumerMetrics, ProducerMetrics, etc.)
- Spec classes (ConsumerSpec, ProducerSpec, SubscriberSpec, etc.)
- Service classes with add_args() and run() methods
- Utility functions (logging, pubsub, clients)
- AsyncProcessor methods

All 93 public functions now fully typed.

Refs #785

* refactor: deduplicate imports and move __future__ after docstrings

Addresses review feedback on PR #803:
- Remove duplicate 'from argparse import ArgumentParser' across 12 files
- Move 'from __future__ import annotations' to line 1 in all files
- Clean up excessive blank lines
2026-04-16 10:08:19 +01:00
..
trustgraph feat: add type hints to all public functions in trustgraph/base (#803) 2026-04-16 10:08:19 +01:00
pyproject.toml Add missing PyYAML package (#811) 2026-04-15 15:37:46 +01:00
README.md Maint/fix build env (#84) 2024-09-30 19:47:09 +01:00