Skip to content

Commit

Permalink
Upgrade default pattern to 2.1
Browse files Browse the repository at this point in the history
The change permits the usage of importing the v2.1 `Pattern` class
from `stix2patterns.pattern` by default instead of v2.0.
  • Loading branch information
febrezo committed Jan 8, 2023
1 parent ead1801 commit 3d0c0cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stix2patterns/pattern.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Update or remove for 2.0.0
from .exceptions import ParseException, ParserErrorListener # noqa: F401
from .v20.pattern import Pattern # noqa: F401
from .v21.pattern import Pattern # noqa: F401

0 comments on commit 3d0c0cd

Please sign in to comment.