the-algorithm/timelineranker/server/src/main/scala/com/twitter/timelineranker/config/ClientWrappers.scala
twitter-team ef4c5eb65e Twitter Recommendation Algorithm
Please note we have force-pushed a new initial commit in order to remove some publicly-available Twitter user information. Note that this process may be required in the future.
2023-03-31 17:36:31 -05:00

12 lines
427 B
Scala

package com.twitter.timelineranker.config
import com.twitter.storehaus.Store
import com.twitter.timelineranker.recap.model.ContentFeatures
import com.twitter.timelines.model.TweetId
class ClientWrappers(config: RuntimeConfiguration) {
private[this] val backendClientConfiguration = config.underlyingClients
val contentFeaturesCache: Store[TweetId, ContentFeatures] =
backendClientConfiguration.contentFeaturesCache
}