update ts_support.ipynb

pull/1/head
Emmanuelle Vargas-Gonzalez 2020-06-30 23:11:59 -04:00
parent 056bc4de19
commit bc2a6322a9
1 changed files with 11 additions and 4 deletions

View File

@ -63,7 +63,14 @@
"\n", "\n",
"Imports can be used in different ways depending on the use case and support levels.\n", "Imports can be used in different ways depending on the use case and support levels.\n",
"\n", "\n",
"People who want to support the latest version of STIX 2.X without having to make changes, can implicitly use the latest version:" "People who want to support the latest version of STIX 2 without having to make changes, can implicitly use the latest version:",
"<div class=\"alert alert-warning\">\n",
"\n",
"**Warning**\n",
"\n",
"The implicit import method can cause the code to break between major releases to support a newer approved committee specification. Therefore, not recommended for large scale applications relying on specific object support.\n",
"\n",
"</div>"
] ]
}, },
{ {
@ -143,7 +150,7 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"or even," "or even, (less preferred)"
] ]
}, },
{ {
@ -230,7 +237,7 @@
"metadata": {}, "metadata": {},
"source": [ "source": [
"### How parsing works\n", "### How parsing works\n",
"If the ``version`` positional argument is not provided. The library will make the best attempt using the \"spec_version\" property found on a Bundle, SDOs, and SROs.\n", "If the ``version`` positional argument is not provided the library will make the best attempt using the \"spec_version\" property found on a Bundle, SDOs, SCOs, or SROs.\n",
"\n", "\n",
"You can lock your [parse()](../api/stix2.core.rst#stix2.core.parse) method to a specific STIX version by:" "You can lock your [parse()](../api/stix2.core.rst#stix2.core.parse) method to a specific STIX version by:"
] ]
@ -356,7 +363,7 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"Keep in mind that if a 2.1 or higher object is parsed, the operation will fail." "In the example above if a 2.1 or higher object is parsed, the operation will fail."
] ]
}, },
{ {