Skip to content

Commit f5ca830

Browse files
Copilotgonzalocasas
andcommitted
Fix import in codec_usage.py example
- Updated import to use `from compas_eve.codecs import JsonMessageCodec` - This reflects the change where JsonMessageCodec is no longer exported at top level Co-authored-by: gonzalocasas <[email protected]>
1 parent 490749a commit f5ca830

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/codec_usage.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
import json
1111

1212
import compas_eve as eve
13-
from compas_eve import JsonMessageCodec, MessageCodec
13+
from compas_eve import MessageCodec
14+
from compas_eve.codecs import JsonMessageCodec
1415

1516

1617
# Example 1: Using the default JSON codec (implicit)

0 commit comments

Comments
 (0)