#NEWLINE# def __init__( self , typ_schema , typ_name , columns , rows ) : #NEWLINE# #INDENT# '\n        @param typ_schema: Schema where TVP type defined\n        @param typ_name: Name of TVP type\n        @param columns: List of column types\n        ' #NEWLINE# if ( len ( typ_schema ) > 128 ) : #NEWLINE# #INDENT# raise ValueError ( 'Schema part of TVP name should be no longer than 128 characters' ) #NEWLINE# #UNINDENT# if ( len ( typ_name ) > 128 ) : #NEWLINE# #INDENT# raise ValueError ( 'Name part of TVP name should be no longer than 128 characters' ) #NEWLINE# #UNINDENT# if ( columns is not None ) : #NEWLINE# #INDENT# if ( len ( columns ) > 1024 ) : #NEWLINE# #INDENT# raise ValueError ( 'TVP cannot have more than 1024 columns' ) #NEWLINE# #UNINDENT# if ( len ( columns ) < 1 ) : #NEWLINE# #INDENT# raise ValueError ( 'TVP must have at least one column' ) #NEWLINE# #UNINDENT# #UNINDENT# self . _typ_dbname = '' #NEWLINE# self . _typ_schema = typ_schema #NEWLINE# self . _typ_name = typ_name #NEWLINE# self . _columns = columns #NEWLINE# self . _rows = rows