@@ -99,10 +99,6 @@ def __init__(self, type, *args, **kwargs):
99
99
100
100
101
101
def default_connection_field_factory (relationship , registry ):
102
- log .warn (
103
- 'This is deprecated and will be removed in the next '
104
- 'major version. Use TODO instead.'
105
- )
106
102
model = relationship .mapper .entity
107
103
model_type = registry .get_type_for_model (model )
108
104
return createConnectionField (model_type )
@@ -115,15 +111,15 @@ def default_connection_field_factory(relationship, registry):
115
111
def createConnectionField (_type ):
116
112
log .warn (
117
113
'createConnectionField is deprecated and will be removed in the next '
118
- 'major version. Use TODO instead.'
114
+ 'major version. Use SQLAlchemyObjectType.Meta.connection_field_factory instead.'
119
115
)
120
116
return __connectionFactory (_type )
121
117
122
118
123
119
def registerConnectionFieldFactory (factoryMethod ):
124
120
log .warn (
125
121
'registerConnectionFieldFactory is deprecated and will be removed in the next '
126
- 'major version. Use TODO instead.'
122
+ 'major version. Use SQLAlchemyObjectType.Meta.connection_field_factory instead.'
127
123
)
128
124
global __connectionFactory
129
125
__connectionFactory = factoryMethod
@@ -132,7 +128,7 @@ def registerConnectionFieldFactory(factoryMethod):
132
128
def unregisterConnectionFieldFactory ():
133
129
log .warn (
134
130
'registerConnectionFieldFactory is deprecated and will be removed in the next '
135
- 'major version. Use TODO instead.'
131
+ 'major version. Use SQLAlchemyObjectType.Meta.connection_field_factory instead.'
136
132
)
137
133
global __connectionFactory
138
134
__connectionFactory = UnsortedSQLAlchemyConnectionField
0 commit comments