mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-06-02 17:28:45 +02:00
19 lines
585 B
Scala
19 lines
585 B
Scala
package com.twitter.follow_recommendations.modules
|
|
import com.twitter.inject.TwitterModule
|
|
|
|
object FlagsModule extends TwitterModule {
|
|
flag[Boolean](
|
|
name = "fetch_prod_promoted_accounts",
|
|
help = "Whether or not to fetch production promoted accounts (true / false)"
|
|
)
|
|
flag[Boolean](
|
|
name = "interests_opt_out_prod_enabled",
|
|
help = "Whether to fetch interests opt out data from the prod strato column or not"
|
|
)
|
|
flag[Boolean](
|
|
name = "log_results",
|
|
default = false,
|
|
help = "Whether to log results such that we use them for scoring or metrics"
|
|
)
|
|
}
|