An unexpected keyword argument 'nanosecond_precision'
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- observability
Research direction
Start at the FluentSender constructor and reproduce the TypeError with Python 3.9 and fluent-logger 0.10.0 using the reported nanosecond_precision argument. Trace how constructor arguments are handled and verify that the reported invocation no longer raises this unexpected-keyword error.
Written by the indexing model from the issue text.
Description
Hello! I am running into a type error when using the nanosecond_precision argument on FluentSender
self.logger = sender.FluentSender(
_TOP_LEVEL_FLUTEND_TAG,
host=os.getenv('FLUTEND_HOST', '0.0.0.0'),
port=os.getenv('FLUENTD_PORT', 24224),
nanosecond_precision=True # TODO: This currently throws an error
)
TypeError: __init__() got an unexpected keyword argument 'nanosecond_precision'
Python 3.9.15
[[package]]
name = "fluent-logger"
version = "0.10.0"
description = "A Python logging handler for Fluentd event collector"
category = "main"
optional = false
python-versions = ">=3.5"
Thanks!
- Dominant language
- Python
- Stars
- 457
- Forks
- 138
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from fluent/fluent-logger-python
-
support of `asctime` Open
Difficulty 3/5 1-2 days Newbie friendliness 48/100
fluent/fluent-logger-python#210 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
fluent/fluent-logger-python#196 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
fluent/fluent-logger-python#195 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
fluent/fluent-logger-python#193 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
fluent/fluent-logger-python#190 ·
All issues in fluent/fluent-logger-python
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100