Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump version to v1, re-generate docs & export from ABI package #192

Merged
merged 3 commits into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ If you want to skip network interaction tests run:
pytest -m "not networkInteraction"
```

We have some tests fetching mainnet transactions that are quite time consuming. To skip those, run this command:
```
pytest -m "not mainnet"
```

### Generate test coverage report

First, we run the tests using coverage:
Expand Down
18 changes: 9 additions & 9 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@

sys.path.insert(0, os.path.abspath(".."))

project = 'multiversx-sdk'
copyright = '2024, MultiversX'
author = 'MultiversX'
release = '0.19.0'
project = "multiversx-sdk"
copyright = "2024, MultiversX"
author = "MultiversX"
release = "1.0.0"

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = ["sphinx.ext.todo", "sphinx.ext.viewcode", "sphinx.ext.autodoc"]

templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
templates_path = ["_templates"]
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]


# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = 'sphinx_rtd_theme'
html_static_path = ['_static']
autoclass_content = 'both'
html_theme = "sphinx_rtd_theme"
html_static_path = ["_static"]
autoclass_content = "both"
16 changes: 16 additions & 0 deletions docs/multiversx_sdk.abi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,22 @@ multiversx\_sdk.abi.list\_value module
:undoc-members:
:show-inheritance:

multiversx\_sdk.abi.managed\_decimal\_signed\_value module
----------------------------------------------------------

.. automodule:: multiversx_sdk.abi.managed_decimal_signed_value
:members:
:undoc-members:
:show-inheritance:

multiversx\_sdk.abi.managed\_decimal\_value module
--------------------------------------------------

.. automodule:: multiversx_sdk.abi.managed_decimal_value
:members:
:undoc-members:
:show-inheritance:

multiversx\_sdk.abi.multi\_value module
---------------------------------------

Expand Down
8 changes: 8 additions & 0 deletions docs/multiversx_sdk.accounts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ multiversx\_sdk.accounts.account module
:undoc-members:
:show-inheritance:

multiversx\_sdk.accounts.ledger\_account module
-----------------------------------------------

.. automodule:: multiversx_sdk.accounts.ledger_account
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

Expand Down
8 changes: 8 additions & 0 deletions docs/multiversx_sdk.core.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ multiversx\_sdk.core.address module
:undoc-members:
:show-inheritance:

multiversx\_sdk.core.base\_controller module
--------------------------------------------

.. automodule:: multiversx_sdk.core.base_controller
:members:
:undoc-members:
:show-inheritance:

multiversx\_sdk.core.bech32 module
----------------------------------

Expand Down
37 changes: 37 additions & 0 deletions docs/multiversx_sdk.ledger.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
multiversx\_sdk.ledger package
==============================

Submodules
----------

multiversx\_sdk.ledger.config module
------------------------------------

.. automodule:: multiversx_sdk.ledger.config
:members:
:undoc-members:
:show-inheritance:

multiversx\_sdk.ledger.errors module
------------------------------------

.. automodule:: multiversx_sdk.ledger.errors
:members:
:undoc-members:
:show-inheritance:

multiversx\_sdk.ledger.ledger\_app module
-----------------------------------------

.. automodule:: multiversx_sdk.ledger.ledger_app
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: multiversx_sdk.ledger
:members:
:undoc-members:
:show-inheritance:
1 change: 1 addition & 0 deletions docs/multiversx_sdk.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Subpackages
multiversx_sdk.core
multiversx_sdk.delegation
multiversx_sdk.entrypoints
multiversx_sdk.ledger
multiversx_sdk.network_providers
multiversx_sdk.relayed
multiversx_sdk.smart_contracts
Expand Down
8 changes: 8 additions & 0 deletions multiversx_sdk/abi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@
from multiversx_sdk.abi.bool_value import BoolValue
from multiversx_sdk.abi.bytes_value import BytesValue
from multiversx_sdk.abi.code_metadata_value import CodeMetadataValue
from multiversx_sdk.abi.codec import Codec
from multiversx_sdk.abi.counted_variadic_values import CountedVariadicValues
from multiversx_sdk.abi.enum_value import EnumValue
from multiversx_sdk.abi.explicit_enum_value import ExplicitEnumValue
from multiversx_sdk.abi.fields import Field
from multiversx_sdk.abi.list_value import ListValue
from multiversx_sdk.abi.managed_decimal_signed_value import ManagedDecimalSignedValue
from multiversx_sdk.abi.managed_decimal_value import ManagedDecimalValue
from multiversx_sdk.abi.multi_value import MultiValue
from multiversx_sdk.abi.option_value import OptionValue
from multiversx_sdk.abi.optional_value import OptionalValue
Expand Down Expand Up @@ -40,11 +44,15 @@
"BigUIntValue",
"BoolValue",
"BytesValue",
"Codec",
"CodeMetadataValue",
"CountedVariadicValues",
"EnumValue",
"ExplicitEnumValue",
"Field",
"ListValue",
"ManagedDecimalSignedValue",
"ManagedDecimalValue",
"OptionValue",
"Serializer",
"I8Value",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ allow-direct-references = true

[project]
name = "multiversx-sdk"
version = "1.0.0b3"
version = "1.0.0"
authors = [
{ name="MultiversX" },
]
Expand Down
Loading