#NEWLINE# def init( self , keepViews = False , errorCaptureLevel = None ) : #NEWLINE# #INDENT# self . uuid = uuid . uuid1 ( ) . urn #NEWLINE# self . namespaceDocs = defaultdict ( list ) #NEWLINE# self . urlDocs = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . urlUnloadableDocs = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . errorCaptureLevel = ( errorCaptureLevel or logging . _checkLevel ( 'INCONSISTENCY' ) ) #NEWLINE# self . errors = [ ] #NEWLINE# self . logCount = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . arcroleTypes = defaultdict ( list ) #NEWLINE# self . roleTypes = defaultdict ( list ) #NEWLINE# self . qnameConcepts = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . nameConcepts = defaultdict ( list ) #NEWLINE# self . qnameAttributes = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . qnameAttributeGroups = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . qnameGroupDefinitions = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . qnameTypes = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . baseSets = defaultdict ( list ) #NEWLINE# self . relationshipSets = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . qnameDimensionDefaults = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . facts = [ ] #NEWLINE# self . factsInInstance = set ( ) #NEWLINE# self . undefinedFacts = [ ] #NEWLINE# self . contexts = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . units = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . modelObjects = [ ] #NEWLINE# self . qnameParameters = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . modelVariableSets = set ( ) #NEWLINE# self . modelCustomFunctionSignatures = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . modelCustomFunctionImplementations = set ( ) #NEWLINE# self . modelRenderingTables = set ( ) #NEWLINE# if ( not keepViews ) : #NEWLINE# #INDENT# self . views = [ ] #NEWLINE# #UNINDENT# self . langs = { self . modelManager . defaultLang } #NEWLINE# from arelle.XbrlConst import standardLabel #NEWLINE# self . labelroles = { standardLabel } #NEWLINE# self . hasXDT = False #NEWLINE# self . hasTableRendering = False #NEWLINE# self . hasTableIndexing = False #NEWLINE# self . hasFormulae = False #NEWLINE# self . formulaOutputInstance = None #NEWLINE# self . logger = logging . getLogger ( 'arelle' ) #NEWLINE# self . logRefObjectProperties = getattr ( self . logger , 'logRefObjectProperties' , False ) #NEWLINE# self . logRefHasPluginAttrs = any ( ( True for m in pluginClassMethods ( 'Logging.Ref.Attributes' ) ) ) #NEWLINE# self . logRefHasPluginProperties = any ( ( True for m in pluginClassMethods ( 'Logging.Ref.Properties' ) ) ) #NEWLINE# self . profileStats = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . schemaDocsToValidate = set ( ) #NEWLINE# self . modelXbrl = self #NEWLINE# self . arelleUnitTests = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for pluginXbrlMethod in pluginClassMethods ( 'ModelXbrl.Init' ) : #NEWLINE# #INDENT# pluginXbrlMethod ( self )