Module licenseware.editable_table.metaspecs

Expand source code
def metaspecs(
    editable:bool = False, 
    visible:bool = True,
    distinct_key:str = None, 
    foreign_key:str = None,
    hashable: bool = False,
    type:str = 'string'
):
   
    return {
        'editable': editable,
        'visible': visible,
        'distinct_key': distinct_key,
        'foreign_key': foreign_key,
        'hashable': hashable,
        'type': type
    }
    
    

Functions

def metaspecs(editable: bool = False, visible: bool = True, distinct_key: str = None, foreign_key: str = None, hashable: bool = False, type: str = 'string')
Expand source code
def metaspecs(
    editable:bool = False, 
    visible:bool = True,
    distinct_key:str = None, 
    foreign_key:str = None,
    hashable: bool = False,
    type:str = 'string'
):
   
    return {
        'editable': editable,
        'visible': visible,
        'distinct_key': distinct_key,
        'foreign_key': foreign_key,
        'hashable': hashable,
        'type': type
    }