@@ -91,6 +91,9 @@ def __str__(self):
9191
9292
9393class AppFig (Fig ):
94+ """
95+ Represents a single configuration that is specific to your application.
96+ """
9497 default : Optional [str ] = None
9598
9699 def __init__ (self , name : str , default : Optional [str ] = None ):
@@ -99,6 +102,10 @@ def __init__(self, name: str, default: Optional[str] = None):
99102
100103
101104class ReplicatedFig (Fig ):
105+ """
106+ Defines a parameter that is a global, shared, configuration that you want our application to have
107+ access to in its FigStore.
108+ """
102109 source : str
103110
104111 def __init__ (self , name : str , source : str ):
@@ -107,11 +114,20 @@ def __init__(self, name: str, source: str):
107114
108115
109116class SharedFig (Fig ):
117+ """
118+ Defines a parameter owned by an outside party that must be shared with your application for it to run.
119+
120+ E.G - DB Credentials, API Keys, etc.
121+ """
110122 def __init__ (self , name : str ):
111123 super ().__init__ (name = name )
112124
113125
114126class MergeFig (Fig ):
127+ """
128+ Creates a single parameter by combining a group of parameters into an "uber-parameter". This is ideal for
129+ building out DB Connection URLs, etc.
130+ """
115131 pattern : List [Union [str , Fig ]]
116132
117133 def __init__ (self , name : str , pattern : List [Union [str , Fig ]]):
0 commit comments