Unable to run the examples
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- documentation
Research direction
Start by running the README sample with the reported Python 3.8.6 environment and checking the avro.schema API used by the imports. Compare both README examples with the current API, then update the examples so they run without the reported AttributeError and verify both sample paths.
Written by the indexing model from the issue text.
Description
@0x26res thank you for your guidance.
I am trying to run the sample code in the read me . Not able to. both code. (simple or "another"
import avro.io
from avro import schema
from avro.schema import SchemaFromJSONData as make_avsc_object
from avro_json_serializer import AvroJsonSerializer
PS C:\a\Python\W\CSV> python dumpsa.py
Traceback (most recent call last):
File "dumpsa.py", line 44, in
avro_schema = avro.schema.make_avsc_object(schema_dict, avro.schema.Names())
AttributeError: module 'avro.schema' has no attribute 'make_avsc_object'
PS C:\a\Python\W\CSV> python --version
Python 3.8.6
- Dominant language
- Python
- Stars
- 135
- Forks
- 43
- 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 linkedin/python-avro-json-serializer
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
linkedin/python-avro-json-serializer#14 · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Better doc Open
Difficulty 2/5 Half a day Newbie friendliness 45/100
linkedin/python-avro-json-serializer#9 · 2 comments · 1 reaction ·
All issues in linkedin/python-avro-json-serializer
Similar issues
-
area: harness bug status: needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Human-Agent-Society/reef#625 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 1/5 Under an hour Newbie friendliness 80/100
learningequality/kolibri#15351 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Name consistency Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
eellak/triplestore#65 · 1 comment ·