Skip to content

Release v2.1.0 - #83

Merged
oseasandrepro merged 7 commits into
mainfrom
release-v2.1.0
Jul 26, 2026
Merged

Release v2.1.0#83
oseasandrepro merged 7 commits into
mainfrom
release-v2.1.0

Conversation

@oseasandrepro

Copy link
Copy Markdown
Owner

Formalize interface definition language and data definition language.
The idia hers is: since SRPC use Python as IDL all content of <module_name>_interface.py and <module_name>.py must use type hint mandatorily.

Check below a consistent and correct interface file content:

from abc import ABC, abstractmethod

class CalcInterface(ABC):
    @abstractmethod
    def add(self,  a: int, b: int) -> int:
        pass

    @abstractmethod
    def sub(self, a: int, b: int) -> int:
        pass

    @abstractmethod
    def mult(self, a: int, b: int) -> int:
        pass

    @abstractmethod
    def div(self, a: int, b: int) -> float:
        pass

oseasandrepro and others added 7 commits July 26, 2026 14:24
…ion-language-and-data-definition-language

Formalize interface definition language and data definition language
The idia hers is since SRPC use Python as IDL all content of <module_name>_interface.py and <module_name>.py must use type hint  mandatorily
@oseasandrepro
oseasandrepro merged commit 26fff9a into main Jul 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant