laforge has submitted this change. (
https://gerrit.osmocom.org/c/pysim/+/41737?usp=email )
Change subject: esim.saip: Better docstring about FsNode class
......................................................................
esim.saip: Better docstring about FsNode class
Change-Id: Id9d196e8d9b1d1b892ec50100b170d72d2c3910b
---
M pySim/esim/saip/__init__.py
1 file changed, 4 insertions(+), 1 deletion(-)
Approvals:
Jenkins Builder: Verified
laforge: Looks good to me, approved
fixeria: Looks good to me, but someone else must approve
diff --git a/pySim/esim/saip/__init__.py b/pySim/esim/saip/__init__.py
index 5a71706..7c6a557 100644
--- a/pySim/esim/saip/__init__.py
+++ b/pySim/esim/saip/__init__.py
@@ -1888,7 +1888,10 @@
class FsNode:
- """A node in the filesystem hierarchy."""
+ """A node in the filesystem hierarchy. Each node can have a parent node
and any number of children.
+ Each node is identified uniquely within the parent by its numeric FID and
its optional human-readable
+ name. Each node usually is associated with an instance of the File class
for the actual content of
+ the file. FsNode is the base class used by more specific nodes, such as
FsNode{EF,DF,ADF,MF}."""
def __init__(self, fid: int, parent: Optional['FsNode'], file:
Optional[File] = None,
name: Optional[str] = None):
self.fid = fid
--
To view, visit https://gerrit.osmocom.org/c/pysim/+/41737?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Id9d196e8d9b1d1b892ec50100b170d72d2c3910b
Gerrit-Change-Number: 41737
Gerrit-PatchSet: 6
Gerrit-Owner: laforge <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>