language: clean up EmbeddingMap

This commit is contained in:
Sebastien Bourdeauducq 2022-03-26 20:42:21 +08:00
parent 0233e50d47
commit ec8ee1e934
2 changed files with 0 additions and 8 deletions

View File

@ -3,7 +3,6 @@ from artiq.language.core import *
from artiq.language.environment import *
from artiq.language.units import *
from artiq.language.scan import *
from artiq.language.embedding_map import *
from . import import_cache
__all__ = ["import_cache"]
@ -11,4 +10,3 @@ __all__.extend(core.__all__)
__all__.extend(environment.__all__)
__all__.extend(units.__all__)
__all__.extend(scan.__all__)
__all__.extend(embedding_map.__all__)

View File

@ -1,7 +1,3 @@
__all__ = [
'EmbeddingMap'
]
class EmbeddingMap:
def __init__(self):
self.object_inverse_map = {}
@ -62,5 +58,3 @@ class EmbeddingMap:
def retrieve_str(self, key):
return self.string_map[key]